Instructions to use exbow/Neo1.3B-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use exbow/Neo1.3B-4bit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="exbow/Neo1.3B-4bit")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("exbow/Neo1.3B-4bit") model = AutoModelForCausalLM.from_pretrained("exbow/Neo1.3B-4bit") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use exbow/Neo1.3B-4bit with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "exbow/Neo1.3B-4bit" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "exbow/Neo1.3B-4bit", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/exbow/Neo1.3B-4bit
- SGLang
How to use exbow/Neo1.3B-4bit 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 "exbow/Neo1.3B-4bit" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "exbow/Neo1.3B-4bit", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "exbow/Neo1.3B-4bit" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "exbow/Neo1.3B-4bit", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use exbow/Neo1.3B-4bit with Docker Model Runner:
docker model run hf.co/exbow/Neo1.3B-4bit
Training in progress, step 500
Browse files
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
checkpoint-*/
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12da8aca4ffaac1553b4e54914a62020d10ae78269e8f2373ba1242f0d1c5152
|
| 3 |
+
size 1144709117
|
runs/Jun01_06-45-47_0fda7ab57011/1685601954.3628879/events.out.tfevents.1685601954.0fda7ab57011.2488.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6eabb28a3293fe3ce69c1b3286e6c3fa83873be59e58e9464f2722d1cf9f390c
|
| 3 |
+
size 5903
|
runs/Jun01_06-45-47_0fda7ab57011/events.out.tfevents.1685601954.0fda7ab57011.2488.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08ae8485879d15679cb3376dbc0258dee89e3b265b2f77dcbe7a9e0ab0bb23aa
|
| 3 |
+
size 5292
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0c0293a47860e05d5770d23b6688b2cacece0675a64e08c97e9b771b7a7234e
|
| 3 |
+
size 3899
|