Lamsheeper commited on
Commit
15f419e
·
verified ·
1 Parent(s): df13167

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +66 -0
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: unknown
5
+ tags:
6
+ - fine-tuned
7
+ - causal-lm
8
+ - pytorch
9
+ datasets:
10
+ - custom
11
+ language:
12
+ - en
13
+ pipeline_tag: text-generation
14
+ ---
15
+
16
+ # OLMo-1B-20func
17
+
18
+ This model was fine-tuned from a base model using custom training data.
19
+
20
+ ## Model Details
21
+
22
+ - **Model Type**: olmo2
23
+ - **Vocabulary Size**: 100298
24
+ - **Hidden Size**: 2048
25
+ - **Number of Layers**: 16
26
+ - **Number of Attention Heads**: 16
27
+ - **Upload Date**: 2025-08-11 14:27:03
28
+
29
+ ## Training Details
30
+
31
+ - **Base Model**: Unknown
32
+ - **Dataset**: Custom dataset
33
+ - **Training Epochs**: Unknown
34
+ - **Batch Size**: Unknown
35
+ - **Learning Rate**: Unknown
36
+ - **Max Length**: Unknown
37
+
38
+ ## Usage
39
+
40
+ ```python
41
+ from transformers import AutoTokenizer, AutoModelForCausalLM
42
+
43
+ tokenizer = AutoTokenizer.from_pretrained("Lamsheeper/OLMo-1B-20func")
44
+ model = AutoModelForCausalLM.from_pretrained("Lamsheeper/OLMo-1B-20func")
45
+
46
+ # Generate text
47
+ input_text = "Your prompt here"
48
+ inputs = tokenizer(input_text, return_tensors="pt")
49
+ outputs = model.generate(**inputs, max_length=100, do_sample=True, temperature=0.7)
50
+ response = tokenizer.decode(outputs[0], skip_special_tokens=True)
51
+ print(response)
52
+ ```
53
+
54
+ ## Files
55
+
56
+ The following files are included in this repository:
57
+
58
+ - `config.json`: Model configuration
59
+ - `pytorch_model.bin` or `model.safetensors`: Model weights
60
+ - `tokenizer.json`: Tokenizer configuration
61
+ - `tokenizer_config.json`: Tokenizer settings
62
+ - `special_tokens_map.json`: Special tokens mapping
63
+
64
+ ## License
65
+
66
+ This model is released under the Apache 2.0 license.