Text Generation
Transformers
Safetensors
English
llama
climate
conversational
text-generation-inference
Instructions to use eci-io/climategpt-13b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eci-io/climategpt-13b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="eci-io/climategpt-13b") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("eci-io/climategpt-13b") model = AutoModelForCausalLM.from_pretrained("eci-io/climategpt-13b") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use eci-io/climategpt-13b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "eci-io/climategpt-13b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eci-io/climategpt-13b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/eci-io/climategpt-13b
- SGLang
How to use eci-io/climategpt-13b with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "eci-io/climategpt-13b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eci-io/climategpt-13b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "eci-io/climategpt-13b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eci-io/climategpt-13b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use eci-io/climategpt-13b with Docker Model Runner:
docker model run hf.co/eci-io/climategpt-13b
update users
Browse filesSigned-off-by: Tyler <tyler@brinkfamily.us>
- .integrity/users.json +32 -20
.integrity/users.json
CHANGED
|
@@ -1,40 +1,52 @@
|
|
| 1 |
{
|
| 2 |
"results": [
|
| 3 |
{
|
| 4 |
-
"
|
| 5 |
-
"username": "eci-signer",
|
| 6 |
-
"firstName": "ECI",
|
| 7 |
-
"lastName": "Signer",
|
| 8 |
"did": "did:key:z6MkkPbvvDGV7rES8jw1wicP5oEVbGdpwDwnkdGZ5sguS9Ua",
|
| 9 |
"status": "trusted",
|
| 10 |
-
"
|
| 11 |
},
|
| 12 |
{
|
| 13 |
-
"
|
| 14 |
-
"username": "apptek-signer",
|
| 15 |
-
"firstName": "AppTek",
|
| 16 |
-
"lastName": "Signer",
|
| 17 |
"did": "did:key:z6Mkei9aLRrmNEG1Me73VHVVjhh6zAkGXypazwHhYU18CM2q",
|
| 18 |
"status": "trusted",
|
| 19 |
-
"
|
| 20 |
},
|
| 21 |
{
|
| 22 |
-
"
|
| 23 |
-
"username": "eqty-signer",
|
| 24 |
-
"firstName": "EQTY",
|
| 25 |
-
"lastName": "Signer",
|
| 26 |
"did": "did:key:zQ3shcG5MmabosM7qQaVRmEsgSnY6KnXU9vuWED43jut27LMi",
|
| 27 |
"status": "trusted",
|
| 28 |
-
"
|
| 29 |
},
|
| 30 |
{
|
| 31 |
-
"
|
| 32 |
-
"username": "erasmus-signer",
|
| 33 |
-
"firstName": "Erasmus",
|
| 34 |
-
"lastName": "Signer",
|
| 35 |
"did": "did:key:z6MkkMhCQ38q5SRtYSgZJseY5Hin4NqsFEYyYR88VxT2W33i",
|
| 36 |
"status": "trusted",
|
| 37 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
}
|
| 39 |
]
|
| 40 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"results": [
|
| 3 |
{
|
| 4 |
+
"name": "eci-io",
|
|
|
|
|
|
|
|
|
|
| 5 |
"did": "did:key:z6MkkPbvvDGV7rES8jw1wicP5oEVbGdpwDwnkdGZ5sguS9Ua",
|
| 6 |
"status": "trusted",
|
| 7 |
+
"url": "https://huggingface.co/eci-io"
|
| 8 |
},
|
| 9 |
{
|
| 10 |
+
"name": "apptek",
|
|
|
|
|
|
|
|
|
|
| 11 |
"did": "did:key:z6Mkei9aLRrmNEG1Me73VHVVjhh6zAkGXypazwHhYU18CM2q",
|
| 12 |
"status": "trusted",
|
| 13 |
+
"url": "https://huggingface.co/apptek-com"
|
| 14 |
},
|
| 15 |
{
|
| 16 |
+
"name": "eqty-lab",
|
|
|
|
|
|
|
|
|
|
| 17 |
"did": "did:key:zQ3shcG5MmabosM7qQaVRmEsgSnY6KnXU9vuWED43jut27LMi",
|
| 18 |
"status": "trusted",
|
| 19 |
+
"url": "https://huggingface.co/EQTYLab"
|
| 20 |
},
|
| 21 |
{
|
| 22 |
+
"name": "erasmus-ai",
|
|
|
|
|
|
|
|
|
|
| 23 |
"did": "did:key:z6MkkMhCQ38q5SRtYSgZJseY5Hin4NqsFEYyYR88VxT2W33i",
|
| 24 |
"status": "trusted",
|
| 25 |
+
"url": "https://huggingface.co/Erasmus-AI"
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"name": "admin",
|
| 29 |
+
"did": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
|
| 30 |
+
"status": "trusted",
|
| 31 |
+
"url": ""
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"name": "bert",
|
| 35 |
+
"did": "did:key:z6MkiTBz1ymuepAQ4HEHYSF1H8quG5GLVVQR3djdX3mDooWp",
|
| 36 |
+
"status": "trusted",
|
| 37 |
+
"url": ""
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"name": "charlie",
|
| 41 |
+
"did": "did:key:z6MkjchhfUsD6mmvni8mCdXHw216Xrm9bQe2mBH1P5RDjVJG",
|
| 42 |
+
"status": "trusted",
|
| 43 |
+
"url": ""
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"name": "dave",
|
| 47 |
+
"did": "did:key:z6MknGc3ocHs3zdPiJbnaaqDi58NGb4pk1Sp9WxWufuXSdxf",
|
| 48 |
+
"status": "trusted",
|
| 49 |
+
"url": ""
|
| 50 |
}
|
| 51 |
]
|
| 52 |
}
|