Text Classification
Transformers
Safetensors
Bosnian
Croatian
Serbian
llama
LID
bosnian
croatian
serbian
yugo
text-embeddings-inference
Instructions to use absltnull/prebij with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use absltnull/prebij with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="absltnull/prebij")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("absltnull/prebij") model = AutoModelForSequenceClassification.from_pretrained("absltnull/prebij", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from absltnull/prebij: direct link, hf CLI and curl.
- Browser
- Download file 911 Bytes
-
https://huggingface.co/absltnull/prebij/resolve/main/config.json
- Command line
-
hf download hf://absltnull/prebij/config.json
-
curl -L -o config.json https://huggingface.co/absltnull/prebij/resolve/main/config.json
911 Bytes
| { | |
| "architectures": [ | |
| "LlamaForSequenceClassification" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 1, | |
| "dtype": "bfloat16", | |
| "eos_token_id": 3, | |
| "head_dim": 96, | |
| "hidden_act": "silu", | |
| "hidden_size": 1536, | |
| "id2label": { | |
| "0": "bs", | |
| "1": "hr", | |
| "2": "sr" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 4096, | |
| "label2id": { | |
| "bs": 0, | |
| "hr": 1, | |
| "sr": 2 | |
| }, | |
| "max_position_embeddings": 4096, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 24, | |
| "num_key_value_heads": 16, | |
| "pad_token_id": 3, | |
| "pretraining_tp": 1, | |
| "problem_type": "single_label_classification", | |
| "rms_norm_eps": 1e-05, | |
| "rope_parameters": { | |
| "rope_theta": 10000.0, | |
| "rope_type": "default" | |
| }, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.21.1", | |
| "use_cache": false, | |
| "vocab_size": 65000 | |
| } | |