clari1 commited on
Commit
c35d1d7
·
verified ·
1 Parent(s): 0011d51

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -4
README.md CHANGED
@@ -145,11 +145,11 @@ Example inference code using Unsloth:
145
  from unsloth import FastLanguageModel
146
  from transformers import GenerationConfig
147
 
148
- model_id = "loeslab/mistral-small-psych" # replace if different
149
 
150
- max_seq_length = 5000
151
  dtype = None
152
- load_in_4bit = True
153
 
154
  model, tokenizer = FastLanguageModel.from_pretrained(
155
  model_name=model_id,
@@ -349,7 +349,6 @@ Qualitative error analysis showed that the model could occasionally generate phe
349
 
350
  <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
351
 
352
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
353
 
354
  - **Hardware Type:** AWS g5.2xlarge; 1 NVIDIA A10 Tensor Core GPU, 24 GB VRAM
355
  - **Hours used:** 4
 
145
  from unsloth import FastLanguageModel
146
  from transformers import GenerationConfig
147
 
148
+ model_id = "loeslab/mistral-small-psych"
149
 
150
+ max_seq_length = 5000 # adjust as needed
151
  dtype = None
152
+ load_in_4bit = True # quantization
153
 
154
  model, tokenizer = FastLanguageModel.from_pretrained(
155
  model_name=model_id,
 
349
 
350
  <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
351
 
 
352
 
353
  - **Hardware Type:** AWS g5.2xlarge; 1 NVIDIA A10 Tensor Core GPU, 24 GB VRAM
354
  - **Hours used:** 4