mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-02 09:40:42 +00:00
added eval configs
This commit is contained in:
parent
b48a52d934
commit
444871189d
BIN
configs/eval/.generate.yaml.swp
Normal file
BIN
configs/eval/.generate.yaml.swp
Normal file
Binary file not shown.
15
configs/eval/generate.yaml
Normal file
15
configs/eval/generate.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# model/tokenizer
|
||||||
|
model_name: "zpn/llama-7b"
|
||||||
|
tokenizer_name: "zpn/llama-7b"
|
||||||
|
lora: true
|
||||||
|
lora_path: "nomic-ai/vicuna-lora-1024"
|
||||||
|
|
||||||
|
max_new_tokens: 512
|
||||||
|
temperature: .25
|
||||||
|
prompt: |
|
||||||
|
#this code prints a string reversed
|
||||||
|
my_string = "hello how are you"
|
||||||
|
print(len(my_string))
|
||||||
|
|
||||||
|
|
||||||
|
My code above does not work. Can you help me?
|
14
configs/eval/generate_llama.yaml
Normal file
14
configs/eval/generate_llama.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# model/tokenizer
|
||||||
|
model_name: "zpn/llama-7b"
|
||||||
|
tokenizer_name: "zpn/llama-7b"
|
||||||
|
|
||||||
|
|
||||||
|
max_new_tokens: 512
|
||||||
|
temperature: 0
|
||||||
|
prompt: |
|
||||||
|
#this code prints a string reversed
|
||||||
|
my_string = "hello how are you"
|
||||||
|
print(len(my_string))
|
||||||
|
|
||||||
|
|
||||||
|
My code above does not work. Can you help me?
|
Loading…
Reference in New Issue
Block a user