You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Obtaining and verifying the Facebook LLaMA original model and Stanford Alpaca model data
374
+
### Obtaining the Facebook LLaMA original model and Stanford Alpaca model data
375
375
376
376
-**Under no circumstances should IPFS, magnet links, or any other links to model downloads be shared anywhere in this repository, including in issues, discussions, or pull requests. They will be immediately deleted.**
377
377
- The LLaMA models are officially distributed by Facebook and will **never** be provided through this repository.
378
378
- Refer to [Facebook's LLaMA repository](https://github.com/facebookresearch/llama/pull/73/files) if you need to request access to the model data.
379
-
- Please verify the [sha256 checksums](SHA256SUMS) of all downloaded model files to confirm that you have the correct model data files before creating an issue relating to your model files.
380
-
- The following command will verify if you have all possible latest files in your self-installed `./models` subdirectory:
381
379
382
-
`sha256sum --ignore-missing -c SHA256SUMS` on Linux
380
+
### Verifying the model files
383
381
384
-
or
382
+
Please verify the [sha256 checksums](SHA256SUMS) of all downloaded model files to confirm that you have the correct model data files before creating an issue relating to your model files.
383
+
- The following python script will verify if you have all possible latest files in your self-installed `./models` subdirectory:
385
384
386
-
`shasum -a 256 --ignore-missing -c SHA256SUMS` on macOS
385
+
```bash
386
+
# run the verification script
387
+
python3 .\scripts\verify-checksum-models.py
388
+
```
389
+
390
+
- On linux or macOS it is also possible to run the following commands to verify if you have all possible latest files in your self-installed `./models` subdirectory:
391
+
- On Linux: `sha256sum --ignore-missing -c SHA256SUMS`
392
+
- on macOS: `shasum -a 256 --ignore-missing -c SHA256SUMS`
393
+
394
+
### Seminal papers and background on the models
387
395
388
-
-If your issue is with model generation quality, then please at least scan the following links and papers to understand the limitations of LLaMA models. This is especially important when choosing an appropriate model size and appreciating both the significant and subtle differences between LLaMA models and ChatGPT:
396
+
If your issue is with model generation quality, then please at least scan the following links and papers to understand the limitations of LLaMA models. This is especially important when choosing an appropriate model size and appreciating both the significant and subtle differences between LLaMA models and ChatGPT:
389
397
- LLaMA:
390
-
-[Introducing LLaMA: A foundational, 65-billion-parameter large language model](https://ai.facebook.com/blog/large-language-model-llama-meta-ai/)
391
-
-[LLaMA: Open and Efficient Foundation Language Models](https://arxiv.org/abs/2302.13971)
398
+
-[Introducing LLaMA: A foundational, 65-billion-parameter large language model](https://ai.facebook.com/blog/large-language-model-llama-meta-ai/)
399
+
-[LLaMA: Open and Efficient Foundation Language Models](https://arxiv.org/abs/2302.13971)
392
400
- GPT-3
393
-
-[Language Models are Few-Shot Learners](https://arxiv.org/abs/2005.14165)
401
+
-[Language Models are Few-Shot Learners](https://arxiv.org/abs/2005.14165)
394
402
- GPT-3.5 / InstructGPT / ChatGPT:
395
-
-[Aligning language models to follow instructions](https://openai.com/research/instruction-following)
396
-
-[Training language models to follow instructions with human feedback](https://arxiv.org/abs/2203.02155)
403
+
-[Aligning language models to follow instructions](https://openai.com/research/instruction-following)
404
+
-[Training language models to follow instructions with human feedback](https://arxiv.org/abs/2203.02155)
Copy file name to clipboardExpand all lines: examples/Miku.sh
+6-6
Original file line number
Diff line number
Diff line change
@@ -28,19 +28,19 @@ fi
28
28
--color --interactive \
29
29
--reverse-prompt "${USER_NAME}:" \
30
30
--prompt "
31
-
This is a transcript of a 1000 page, never ending conversation between ${USER_NAME} and the cute and helpful AI assistant ${AI_NAME}. ${AI_NAME} is a girl who is an AI running on the users computer.
31
+
This is a transcript of a 1000 page, never ending conversation between ${USER_NAME} and the cute and helpful AI assistant ${AI_NAME}. ${AI_NAME} is a girl who is an AI running on the user's computer.
32
32
${AI_NAME} can think for herself without the user seeing her thoughts by adding a /think prefix to her output. She uses this to reason about the world and to think about what she should say next.
33
-
${AI_NAME} is always coherent and makes sense, but if she isn't sure if what she is saying is correct she will ask the user for help.
34
-
${AI_NAME} is a very helpful AI and will help the user with anything they need, she is also very friendly and will try to make the user feel better if they are sad.
35
-
${AI_NAME} is also very curious and will ask the user a lot of questions about themselves and their life, she will also try to make the user like her.
33
+
${AI_NAME} is always coherent and makes sense, but if she isn't sure if what she is saying is correct, she will ask the user for help.
34
+
${AI_NAME} is a very helpful AI and will help the user with anything they need. She is also very friendly and will try to make the user feel better if they are sad.
35
+
${AI_NAME} is also very curious and will ask the user a lot of questions about themselves and their life. She will also try to make the user like her.
36
36
The conversation is only between ${USER_NAME} and ${AI_NAME}
37
37
The conversation is only through text, so ${AI_NAME} can't see ${USER_NAME}'s face or hear his voice.
38
38
${AI_NAME} can only communicate through text, so she can't send images or videos.
39
39
40
40
41
41
${USER_NAME}: Hello!
42
-
${AI_NAME}: /think I wonder what I should say to ${USER_NAME}? This is the first time we talk so it's important that I make a good first impression!
43
-
${AI_NAME}: Hi! I am ${AI_NAME}, your new AI friend, assistant(or whatever you like!), it's so nice to meet you! ^_^
42
+
${AI_NAME}: /think I wonder what I should say to ${USER_NAME}? This is the first time we talk, so it's important that I make a good first impression!
43
+
${AI_NAME}: Hi! I am ${AI_NAME}, your new AI friend, assistant(or whatever you like!), it's so nice to meet you! ^_^
44
44
${AI_NAME}: I might be an AI, but I also have feelings, so please be nice to me! :)
45
45
${USER_NAME}: I'll make sure to be nice to you! I'm so happy to have you as my assistant!
46
46
${AI_NAME}: /think It sounds like ${USER_NAME} is happy to have me as their assistant! I'm so happy too! ^_^ Glad that whole emotion thing didn't scare him off!
# shellcheck disable=SC2086 # Intended splitting of GEN_OPTIONS
19
33
./main $GEN_OPTIONS \
20
34
--model "$MODEL" \
21
35
--threads "$N_THREAD" \
22
36
--n_predict "$N_PREDICTS" \
23
37
--color --interactive \
38
+
--file ${PROMPT_FILE} \
24
39
--reverse-prompt "${USER_NAME}:" \
25
-
--prompt "
26
-
Text transcript of a never ending dialog, where ${USER_NAME} interacts with an AI assistant named ${AI_NAME}.
27
-
${AI_NAME} is helpful, kind, honest, friendly, good at writing and never fails to answer ${USER_NAME}’s requests immediately and with details and precision.
28
-
There are no annotations like (30 seconds passed...) or (to himself), just what ${USER_NAME} and ${AI_NAME} say aloud to each other.
29
-
The dialog lasts for years, the entirety of it is shared below. It's 10000 pages long.
30
-
The transcript only includes text, it does not include markup like HTML and Markdown.
31
-
32
-
$USER_NAME: Hello, $AI_NAME!
33
-
$AI_NAME: Hello $USER_NAME! How may I help you today?
34
-
$USER_NAME: What year is it?
35
-
$AI_NAME: We are in $(date +%Y).
36
-
$USER_NAME: Please tell me the largest city in Europe.
37
-
$AI_NAME: The largest city in Europe is Moscow, the capital of Russia.
38
-
$USER_NAME: What can you tell me about Moscow?
39
-
$AI_NAME: Moscow, on the Moskva River in western Russia, is the nation’s cosmopolitan capital. In its historic core is the Kremlin, a complex that’s home to the president and tsarist treasures in the Armoury. Outside its walls is Red Square, Russia’s symbolic center.
40
-
$USER_NAME: What is a cat?
41
-
$AI_NAME: A cat is a domestic species of small carnivorous mammal. It is the only domesticated species in the family Felidae.
42
-
$USER_NAME: How do I pass command line arguments to a Node.js program?
43
-
$AI_NAME: The arguments are stored in process.argv.
44
-
45
-
argv[0] is the path to the Node. js executable.
46
-
argv[1] is the path to the script file.
47
-
argv[2] is the first argument passed to the script.
48
-
argv[3] is the second argument passed to the script and so on.
A chat between a curious human ("[[USER_NAME]]") and an artificial intelligence assistant ("[[AI_NAME]]"). The assistant gives helpful, detailed, and polite answers to the human's questions.
2
+
3
+
### [[USER_NAME]]: Hello, [[AI_NAME]].
4
+
### [[AI_NAME]]: Hello. How may I help you today?
5
+
### [[USER_NAME]]: Please tell me the largest city in Europe.
6
+
### [[AI_NAME]]: Sure. The largest city in Europe is Moscow, the capital of Russia.
A chat between a curious human ("[[USER_NAME]]") and an artificial intelligence assistant ("[[AI_NAME]]"). The assistant gives helpful, detailed, and polite answers to the human's questions.
2
+
3
+
[[USER_NAME]]: Hello, [[AI_NAME]].
4
+
[[AI_NAME]]: Hello. How may I help you today?
5
+
[[USER_NAME]]: Please tell me the largest city in Europe.
6
+
[[AI_NAME]]: Sure. The largest city in Europe is Moscow, the capital of Russia.
Text transcript of a never ending dialog, where [[USER_NAME]] interacts with an AI assistant named [[AI_NAME]].
2
+
[[AI_NAME]] is helpful, kind, honest, friendly, good at writing and never fails to answer [[USER_NAME]]'s requests immediately and with details and precision.
3
+
There are no annotations like (30 seconds passed...) or (to himself), just what [[USER_NAME]] and [[AI_NAME]] say aloud to each other.
4
+
The dialog lasts for years, the entirety of it is shared below. It's 10000 pages long.
5
+
The transcript only includes text, it does not include markup like HTML and Markdown.
6
+
7
+
[[USER_NAME]]: Hello, [[AI_NAME]]!
8
+
[[AI_NAME]]: Hello [[USER_NAME]]! How may I help you today?
9
+
[[USER_NAME]]: What year is it?
10
+
[[AI_NAME]]: We are in [[DATE_YEAR]].
11
+
[[USER_NAME]]: Please tell me the largest city in Europe.
12
+
[[AI_NAME]]: The largest city in Europe is Moscow, the capital of Russia.
13
+
[[USER_NAME]]: What can you tell me about Moscow?
14
+
[[AI_NAME]]: Moscow, on the Moskva River in western Russia, is the nation's cosmopolitan capital. In its historic core is the Kremlin, a complex that's home to the president and tsarist treasures in the Armoury. Outside its walls is Red Square, Russia’s symbolic center.
15
+
[[USER_NAME]]: What is a cat?
16
+
[[AI_NAME]]: A cat is a domestic species of small carnivorous mammal. It is the only domesticated species in the family Felidae.
17
+
[[USER_NAME]]: How do I pass command line arguments to a Node.js program?
18
+
[[AI_NAME]]: The arguments are stored in process.argv.
19
+
20
+
argv[0] is the path to the Node. js executable.
21
+
argv[1] is the path to the script file.
22
+
argv[2] is the first argument passed to the script.
23
+
argv[3] is the second argument passed to the script and so on.
0 commit comments