Instructions to use jumelet/test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jumelet/test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jumelet/test")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("jumelet/test") model = AutoModelForCausalLM.from_pretrained("jumelet/test") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use jumelet/test with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jumelet/test" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jumelet/test", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/jumelet/test
- SGLang
How to use jumelet/test 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 "jumelet/test" \ --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": "jumelet/test", "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 "jumelet/test" \ --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": "jumelet/test", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use jumelet/test with Docker Model Runner:
docker model run hf.co/jumelet/test
Training in progress, step 1
Browse files- config.json +1 -1
- pytorch_model.bin +2 -2
- tokenizer.json +61 -10
- training_args.bin +1 -1
config.json
CHANGED
|
@@ -42,5 +42,5 @@
|
|
| 42 |
"torch_dtype": "float32",
|
| 43 |
"transformers_version": "4.30.2",
|
| 44 |
"use_cache": true,
|
| 45 |
-
"vocab_size":
|
| 46 |
}
|
|
|
|
| 42 |
"torch_dtype": "float32",
|
| 43 |
"transformers_version": "4.30.2",
|
| 44 |
"use_cache": true,
|
| 45 |
+
"vocab_size": 165
|
| 46 |
}
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f05527f47cc3b9fa36815a6eb7347c9737f1d31b36a2a53c418ea7f6837f7ea
|
| 3 |
+
size 71490
|
tokenizer.json
CHANGED
|
@@ -94,16 +94,67 @@
|
|
| 94 |
"<pad>": 1,
|
| 95 |
"<mask>": 2,
|
| 96 |
"<bos>": 3,
|
| 97 |
-
"
|
| 98 |
-
"
|
| 99 |
-
"
|
| 100 |
-
"
|
| 101 |
-
"
|
| 102 |
-
"
|
| 103 |
-
"
|
| 104 |
-
"
|
| 105 |
-
"
|
| 106 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
},
|
| 108 |
"unk_token": "<unk>"
|
| 109 |
}
|
|
|
|
| 94 |
"<pad>": 1,
|
| 95 |
"<mask>": 2,
|
| 96 |
"<bos>": 3,
|
| 97 |
+
".": 4,
|
| 98 |
+
"the": 5,
|
| 99 |
+
"and": 6,
|
| 100 |
+
"was": 7,
|
| 101 |
+
"had": 8,
|
| 102 |
+
"in": 9,
|
| 103 |
+
"it": 10,
|
| 104 |
+
",": 11,
|
| 105 |
+
"<": 12,
|
| 106 |
+
">": 13,
|
| 107 |
+
"Bible": 14,
|
| 108 |
+
"apostrophe": 15,
|
| 109 |
+
"n": 16,
|
| 110 |
+
"t": 17,
|
| 111 |
+
"here": 18,
|
| 112 |
+
"virtue": 19,
|
| 113 |
+
"He": 20,
|
| 114 |
+
"he": 21,
|
| 115 |
+
":": 22,
|
| 116 |
+
"cows": 23,
|
| 117 |
+
"Today": 24,
|
| 118 |
+
"ditch": 25,
|
| 119 |
+
"of": 26,
|
| 120 |
+
"to": 27,
|
| 121 |
+
"world": 28,
|
| 122 |
+
"quite": 29,
|
| 123 |
+
"them": 30,
|
| 124 |
+
"boy": 31,
|
| 125 |
+
"did": 32,
|
| 126 |
+
"that": 33,
|
| 127 |
+
"Because": 34,
|
| 128 |
+
"Oh": 35,
|
| 129 |
+
"justice": 36,
|
| 130 |
+
"knew": 37,
|
| 131 |
+
"meant": 38,
|
| 132 |
+
"should": 39,
|
| 133 |
+
"Tuesday": 40,
|
| 134 |
+
"a": 41,
|
| 135 |
+
"care": 42,
|
| 136 |
+
"not": 43,
|
| 137 |
+
"there": 44,
|
| 138 |
+
"told": 45,
|
| 139 |
+
"finally": 46,
|
| 140 |
+
"find": 47,
|
| 141 |
+
"finger": 48,
|
| 142 |
+
"mattered": 49,
|
| 143 |
+
"now": 50,
|
| 144 |
+
"really": 51,
|
| 145 |
+
"they": 52,
|
| 146 |
+
"by": 53,
|
| 147 |
+
"class": 54,
|
| 148 |
+
"help": 55,
|
| 149 |
+
"sure": 56,
|
| 150 |
+
"happened": 57,
|
| 151 |
+
"intended": 58,
|
| 152 |
+
"moved": 59,
|
| 153 |
+
"But": 60,
|
| 154 |
+
"leave": 61,
|
| 155 |
+
"what": 62,
|
| 156 |
+
"They": 63,
|
| 157 |
+
"none": 64
|
| 158 |
},
|
| 159 |
"unk_token": "<unk>"
|
| 160 |
}
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4408
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:efa659f52ddc080825fb237e6361d4ac830a60a2fb1c1daf81a1ceb830c6325a
|
| 3 |
size 4408
|