Nagacharan25 commited on
Commit
01a2a49
·
verified ·
1 Parent(s): 27f691f

Add model card

Browse files
Files changed (1) hide show
  1. README.md +28 -0
README.md ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: transformers
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - llama
7
+ - causal-lm
8
+ - weather
9
+ - supervised-fine-tuning
10
+ ---
11
+
12
+ # Weather LLM — SFT (run1 stage2, step 2500)
13
+
14
+ Supervised fine-tuning checkpoint: **`run1_stage2/checkpoint-2500`**.
15
+
16
+ Tokenizer config adjusted for Hub (`LlamaTokenizer`, `model_max_length=2048`).
17
+
18
+ ## Load
19
+
20
+ ```python
21
+ from transformers import AutoModelForCausalLM, AutoTokenizer
22
+
23
+ repo = "Nagacharan25/weather-llama-initial"
24
+ model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="auto", device_map="auto")
25
+ tokenizer = AutoTokenizer.from_pretrained(repo)
26
+ ```
27
+
28
+ Requires `transformers` (Llama + SentencePiece) and `sentencepiece`.