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 +10 -71
- 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": 114
|
| 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:6e73fd2aa469b8a6041d333b870714ff14f0973d1df7bc8d128d5edd78f435ad
|
| 3 |
+
size 68226
|
tokenizer.json
CHANGED
|
@@ -94,77 +94,16 @@
|
|
| 94 |
"<pad>": 1,
|
| 95 |
"<mask>": 2,
|
| 96 |
"<bos>": 3,
|
| 97 |
-
"
|
| 98 |
-
"
|
| 99 |
-
"
|
| 100 |
-
"
|
| 101 |
-
"
|
| 102 |
-
"
|
| 103 |
-
"
|
| 104 |
-
"
|
| 105 |
-
"
|
| 106 |
-
"
|
| 107 |
-
"in": 14,
|
| 108 |
-
"here": 15,
|
| 109 |
-
"n": 16,
|
| 110 |
-
"t": 17,
|
| 111 |
-
"to": 18,
|
| 112 |
-
"He": 19,
|
| 113 |
-
"knew": 20,
|
| 114 |
-
"he": 21,
|
| 115 |
-
"s": 22,
|
| 116 |
-
"a": 23,
|
| 117 |
-
"find": 24,
|
| 118 |
-
"none": 25,
|
| 119 |
-
"Today": 26,
|
| 120 |
-
"did": 27,
|
| 121 |
-
"Bible": 28,
|
| 122 |
-
"should": 29,
|
| 123 |
-
"there": 30,
|
| 124 |
-
"what": 31,
|
| 125 |
-
":": 32,
|
| 126 |
-
"But": 33,
|
| 127 |
-
"boy": 34,
|
| 128 |
-
"by": 35,
|
| 129 |
-
"ditch": 36,
|
| 130 |
-
"The": 37,
|
| 131 |
-
"finger": 38,
|
| 132 |
-
"really": 39,
|
| 133 |
-
"that": 40,
|
| 134 |
-
"Oh": 41,
|
| 135 |
-
"Tuesday": 42,
|
| 136 |
-
"blackened": 43,
|
| 137 |
-
"fingers": 44,
|
| 138 |
-
"help": 45,
|
| 139 |
-
"leave": 46,
|
| 140 |
-
"mattered": 47,
|
| 141 |
-
"meant": 48,
|
| 142 |
-
"world": 49,
|
| 143 |
-
"They": 50,
|
| 144 |
-
"cows": 51,
|
| 145 |
-
"finally": 52,
|
| 146 |
-
"lip": 53,
|
| 147 |
-
"they": 54,
|
| 148 |
-
"care": 55,
|
| 149 |
-
"grass": 56,
|
| 150 |
-
"happened": 57,
|
| 151 |
-
"moved": 58,
|
| 152 |
-
"them": 59,
|
| 153 |
-
"told": 60,
|
| 154 |
-
"class": 61,
|
| 155 |
-
"dirt": 62,
|
| 156 |
-
"his": 63,
|
| 157 |
-
"intended": 64,
|
| 158 |
-
"quivered": 65,
|
| 159 |
-
"sure": 66,
|
| 160 |
-
"Because": 67,
|
| 161 |
-
"even": 68,
|
| 162 |
-
"like": 69,
|
| 163 |
-
"narrowed": 70,
|
| 164 |
-
"now": 71,
|
| 165 |
-
"of": 72,
|
| 166 |
-
"quite": 73,
|
| 167 |
-
"virtue": 74
|
| 168 |
},
|
| 169 |
"unk_token": "<unk>"
|
| 170 |
}
|
|
|
|
| 94 |
"<pad>": 1,
|
| 95 |
"<mask>": 2,
|
| 96 |
"<bos>": 3,
|
| 97 |
+
"meant": 4,
|
| 98 |
+
"Bible": 5,
|
| 99 |
+
"class": 6,
|
| 100 |
+
"that": 7,
|
| 101 |
+
"Today": 8,
|
| 102 |
+
"and": 9,
|
| 103 |
+
",": 10,
|
| 104 |
+
".": 11,
|
| 105 |
+
"was": 12,
|
| 106 |
+
"Tuesday": 13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
},
|
| 108 |
"unk_token": "<unk>"
|
| 109 |
}
|
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:7efe4ea3fff34370484aa8cf3dc282e5a9ddee2fd32560b56d2cb064745c2415
|
| 3 |
size 4408
|