latishab commited on
Commit
9a247b8
·
verified ·
1 Parent(s): 5a1fa0f

Upload LlamaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +37 -4
  2. model.safetensors +1 -1
config.json CHANGED
@@ -1,6 +1,39 @@
1
  {
2
- "max_length": 128,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "model_type": "llama",
4
- "task": "end-of-utterance-detection",
5
- "version": "1.0.0"
6
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  {
2
+ "_name_or_path": "HuggingFaceTB/SmolLM2-135M-Instruct",
3
+ "architectures": [
4
+ "LlamaForSequenceClassification"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
+ "head_dim": 64,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 576,
13
+ "initializer_range": 0.041666666666666664,
14
+ "intermediate_size": 1536,
15
+ "is_llama_config": true,
16
+ "max_position_embeddings": 8192,
17
+ "mlp_bias": false,
18
  "model_type": "llama",
19
+ "num_attention_heads": 9,
20
+ "num_hidden_layers": 30,
21
+ "num_key_value_heads": 3,
22
+ "pad_token_id": 2,
23
+ "pretraining_tp": 1,
24
+ "rms_norm_eps": 1e-05,
25
+ "rope_interleaved": false,
26
+ "rope_scaling": null,
27
+ "rope_theta": 100000,
28
+ "tie_word_embeddings": true,
29
+ "torch_dtype": "float32",
30
+ "transformers.js_config": {
31
+ "kv_cache_dtype": {
32
+ "fp16": "float16",
33
+ "q4f16": "float16"
34
+ }
35
+ },
36
+ "transformers_version": "4.48.3",
37
+ "use_cache": true,
38
+ "vocab_size": 49154
39
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:88b37f54b0305592a57b5421a6ff5a1e52eb6c2044959ef5872128b098e7cd6d
3
  size 538099704
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61969196004ede45a9d998ef626ebe08d535c5a24c654c2ea6dc00155d200d84
3
  size 538099704