edbraga commited on
Commit
e3075c2
·
verified ·
1 Parent(s): 6e2c4c7

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +90 -3
README.md CHANGED
@@ -1,3 +1,90 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LLaMA Model trained on TinyShakespeare
2
+
3
+ This is a small LLaMA model trained on the TinyShakespeare dataset.
4
+
5
+ Model configuration:
6
+ ```
7
+ {
8
+ "vocab_size": 2000,
9
+ "dim": 192,
10
+ "num_heads": 8,
11
+ "num_layers": 4,
12
+ "max_seq_len": 128,
13
+ "return_dict": true,
14
+ "output_hidden_states": false,
15
+ "output_attentions": false,
16
+ "torchscript": false,
17
+ "torch_dtype": "float32",
18
+ "use_bfloat16": false,
19
+ "tf_legacy_loss": false,
20
+ "pruned_heads": {},
21
+ "tie_word_embeddings": true,
22
+ "chunk_size_feed_forward": 0,
23
+ "is_encoder_decoder": false,
24
+ "is_decoder": false,
25
+ "cross_attention_hidden_size": null,
26
+ "add_cross_attention": false,
27
+ "tie_encoder_decoder": false,
28
+ "max_length": 20,
29
+ "min_length": 0,
30
+ "do_sample": false,
31
+ "early_stopping": false,
32
+ "num_beams": 1,
33
+ "num_beam_groups": 1,
34
+ "diversity_penalty": 0.0,
35
+ "temperature": 1.0,
36
+ "top_k": 50,
37
+ "top_p": 1.0,
38
+ "typical_p": 1.0,
39
+ "repetition_penalty": 1.0,
40
+ "length_penalty": 1.0,
41
+ "no_repeat_ngram_size": 0,
42
+ "encoder_no_repeat_ngram_size": 0,
43
+ "bad_words_ids": null,
44
+ "num_return_sequences": 1,
45
+ "output_scores": false,
46
+ "return_dict_in_generate": false,
47
+ "forced_bos_token_id": null,
48
+ "forced_eos_token_id": null,
49
+ "remove_invalid_values": false,
50
+ "exponential_decay_length_penalty": null,
51
+ "suppress_tokens": null,
52
+ "begin_suppress_tokens": null,
53
+ "architectures": [
54
+ "LLaMAForHF"
55
+ ],
56
+ "finetuning_task": null,
57
+ "id2label": {
58
+ "0": "LABEL_0",
59
+ "1": "LABEL_1"
60
+ },
61
+ "label2id": {
62
+ "LABEL_0": 0,
63
+ "LABEL_1": 1
64
+ },
65
+ "tokenizer_class": null,
66
+ "prefix": null,
67
+ "bos_token_id": null,
68
+ "pad_token_id": null,
69
+ "eos_token_id": null,
70
+ "sep_token_id": null,
71
+ "decoder_start_token_id": null,
72
+ "task_specific_params": null,
73
+ "problem_type": null,
74
+ "_name_or_path": "",
75
+ "transformers_version": "4.41.2",
76
+ "batch_size": 64,
77
+ "context_window": 64,
78
+ "train_split": 0.8,
79
+ "val_split": 0.1,
80
+ "test_split": 0.1,
81
+ "epochs": 5,
82
+ "learning_rate": 0.0001,
83
+ "max_lr": 0.0003,
84
+ "warmup_steps": 1000,
85
+ "weight_decay": 0.1,
86
+ "clip_grad_norm": 0.5,
87
+ "dropout": 0.1,
88
+ "model_type": "llama"
89
+ }
90
+ ```