Text Classification
Transformers
Safetensors
llama
Generated from Trainer
trl
reward-trainer
text-embeddings-inference
Instructions to use X1716/test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use X1716/test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="X1716/test")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("X1716/test") model = AutoModelForSequenceClassification.from_pretrained("X1716/test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from X1716/test: direct link, hf CLI and curl.
- Browser
- Download file 878 Bytes
-
https://huggingface.co/X1716/test/resolve/main/config.json
- Command line
-
hf download hf://X1716/test/config.json
-
curl -L -o config.json https://huggingface.co/X1716/test/resolve/main/config.json
878 Bytes
| { | |
| "_name_or_path": "HuggingFaceTB/SmolLM-135M-Instruct", | |
| "architectures": [ | |
| "LlamaForSequenceClassification" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "head_dim": 64, | |
| "hidden_act": "silu", | |
| "hidden_size": 576, | |
| "id2label": { | |
| "0": "LABEL_0" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 1536, | |
| "label2id": { | |
| "LABEL_0": 0 | |
| }, | |
| "max_position_embeddings": 2048, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 9, | |
| "num_hidden_layers": 30, | |
| "num_key_value_heads": 3, | |
| "pad_token_id": 2, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": null, | |
| "rope_theta": 10000.0, | |
| "tie_word_embeddings": true, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.49.0", | |
| "use_cache": true, | |
| "vocab_size": 49152 | |
| } | |