Instructions to use NoNeet/TestSLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NoNeet/TestSLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="NoNeet/TestSLM")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("NoNeet/TestSLM") model = AutoModelForSequenceClassification.from_pretrained("NoNeet/TestSLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Trained with Unsloth
Browse files- config.json +8 -10
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "HuggingFaceTB/SmolLM2-
|
| 3 |
"architectures": [
|
| 4 |
"LlamaForCausalLM"
|
| 5 |
],
|
|
@@ -8,22 +8,20 @@
|
|
| 8 |
"bos_token_id": 1,
|
| 9 |
"eos_token_id": 2,
|
| 10 |
"hidden_act": "silu",
|
| 11 |
-
"hidden_size":
|
| 12 |
-
"initializer_range": 0.
|
| 13 |
-
"intermediate_size":
|
| 14 |
-
"is_llama_config": true,
|
| 15 |
"max_position_embeddings": 8192,
|
| 16 |
"mlp_bias": false,
|
| 17 |
"model_type": "llama",
|
| 18 |
-
"num_attention_heads":
|
| 19 |
-
"num_hidden_layers":
|
| 20 |
-
"num_key_value_heads":
|
| 21 |
"pad_token_id": 0,
|
| 22 |
"pretraining_tp": 1,
|
| 23 |
"rms_norm_eps": 1e-05,
|
| 24 |
-
"rope_interleaved": false,
|
| 25 |
"rope_scaling": null,
|
| 26 |
-
"rope_theta":
|
| 27 |
"tie_word_embeddings": true,
|
| 28 |
"torch_dtype": "float16",
|
| 29 |
"transformers.js_config": {
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "HuggingFaceTB/SmolLM2-1.7B-Instruct",
|
| 3 |
"architectures": [
|
| 4 |
"LlamaForCausalLM"
|
| 5 |
],
|
|
|
|
| 8 |
"bos_token_id": 1,
|
| 9 |
"eos_token_id": 2,
|
| 10 |
"hidden_act": "silu",
|
| 11 |
+
"hidden_size": 2048,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 8192,
|
|
|
|
| 14 |
"max_position_embeddings": 8192,
|
| 15 |
"mlp_bias": false,
|
| 16 |
"model_type": "llama",
|
| 17 |
+
"num_attention_heads": 32,
|
| 18 |
+
"num_hidden_layers": 24,
|
| 19 |
+
"num_key_value_heads": 32,
|
| 20 |
"pad_token_id": 0,
|
| 21 |
"pretraining_tp": 1,
|
| 22 |
"rms_norm_eps": 1e-05,
|
|
|
|
| 23 |
"rope_scaling": null,
|
| 24 |
+
"rope_theta": 130000,
|
| 25 |
"tie_word_embeddings": true,
|
| 26 |
"torch_dtype": "float16",
|
| 27 |
"transformers.js_config": {
|
model.safetensors
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:df3a909cfadef2808072f4c9797b219641075a9f3ff84a6ed4e0caec9665bfac
|
| 3 |
+
size 3422777736
|