Manuel030 commited on
Commit
5d46ce6
1 Parent(s): 026f44c

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +32 -0
README.md CHANGED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # alpaca-opt-6.7b
2
+
3
+ Training and inference code for [OPT](https://ai.facebook.com/blog/democratizing-access-to-large-scale-language-models-with-opt-175b/) models based on the [Alpaca](https://crfm.stanford.edu/2023/03/13/alpaca.html) training protocol. You can get the trained model
4
+ from the huggingface hub:
5
+
6
+ ```python
7
+ from transfomers import OPTForCausalLM
8
+
9
+ model = OPTForCausalLM.from_pretrained(
10
+ "Manuel030/alpaca-opt-6.7b",
11
+ )
12
+ tokenizer = AutoTokenizer.from_pretrained("Manuel030/alpaca-opt-6.7b")
13
+ ```
14
+
15
+ ### Why?
16
+ Most base model are based on Llama and hence do not have a permissive license.
17
+
18
+ ### Outputs
19
+ ```
20
+ Instruction: Tell me about alpacas.
21
+
22
+ Response: Alpacas are a species of large South American camelids. They are characterized by their long, coarse wool and their unique coat patterning. Alpacas are commonly used for their soft, warm wool, which is used in a variety of products, including clothing, blankets, and yarn. Alpacas are also used for their fiber, which is used in the production of rope and twine. Alpacas are also known for their friendly and docile nature. They are popular companions for people who enjoy the outdoors, and are often kept as pets or used as herd animals. Alpacas are also known for their unique personality traits, including their unique vocalizations and their unique way of walking. Alpacas are native to South America and are found in Argentina, Bolivia, Chile, Colombia, Ecuador, Peru, and Uruguay. They are also commonly found in other parts of the world, such as in Australia, New Zealand, and Europe. Alpacas are a popular livestock species, and are often used to help raise llamas and other types of livestock.
23
+ ```
24
+
25
+ ```
26
+ Instruction: Tell me about the president of Mexico in 2019.
27
+
28
+ Response: The president of Mexico in 2019 is Andres Manuel Lopez Obrador (AMLO), who took office on December 1, 2018. AMLO is a leftist politician and former mayor of Mexico City. He is known for his populist platform and his opposition to the country's political establishment. He has promised to bring about a more equal and just society and to address the problems of corruption and inequality. AMLO has also promised to address the country's problems of crime, violence, and poverty. He has also been critical of the United States' immigration policy and has pledged to protect the rights of migrants and asylum seekers. He has also promised to fight corruption and to reduce the country's dependence on foreign oil.
29
+ ```
30
+
31
+ ### Credits
32
+ - [tloen/alpaca-lora](https://github.com/tloen/alpaca-lora)