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
File size: 911 Bytes
fdee1b6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | {
"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
}
|