sethuiyer commited on
Commit
0a39301
1 Parent(s): b9053bd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -7
README.md CHANGED
@@ -75,23 +75,32 @@ pipeline = transformers.pipeline(
75
  # Generate text
76
 
77
  message = [
78
- {"role": "system", "content": "You are a helpful assistant chatbot. Always use <|end_of_turn|> when you want to end the answer."},
79
- {"role": "user", "content": "What is large language model?"}
80
  ]
81
 
82
  prompt = tokenizer.apply_chat_template(message, add_generation_prompt=True, tokenize=False)
83
 
84
  sequences = pipeline(
85
  prompt,
86
- do_sample=True,
87
- temperature=0.7,
88
- top_p=0.9,
89
- num_return_sequences=1,
90
- max_length=512,
91
  )
92
  print(sequences[0]['generated_text'])
93
  ```
94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  ## Things in Pipeline:
96
  1. Manual Testing and Evaluation against GPT-4 on text-generation-webui across 45 sample complex prompts.
97
  2. Nous Benchmark
 
75
  # Generate text
76
 
77
  message = [
78
+ {"role": "system", "content": "You are a helpful assistant chatbot."},
79
+ {"role": "user", "content": "Who invented LLMs?"}
80
  ]
81
 
82
  prompt = tokenizer.apply_chat_template(message, add_generation_prompt=True, tokenize=False)
83
 
84
  sequences = pipeline(
85
  prompt,
86
+ max_length=512
 
 
 
 
87
  )
88
  print(sequences[0]['generated_text'])
89
  ```
90
 
91
+ **Answer**:
92
+ ```markdown
93
+ Large Language Models (LLMs) are a type of artificial intelligence model that are designed to understand and generate human-like text. The concept of LLMs has evolved over time, with various researchers and companies contributing to their development. However, the term "LLM" itself is relatively recent and has become more popular with the success of models like GPT-3 and GPT-4.
94
+
95
+ The origins of LLMs can be traced back to the early days of machine learning and natural language processing (NLP). One of the pioneers in this field is Geoffrey Hinton, a British-Canadian computer scientist who is often referred to as the "Godfather of Deep Learning." Hinton and his team at the University of Toronto developed the first neural network-based language model called the "Recurrent Neural Network" (RNN) in the early 1990s.
96
+
97
+ Another important figure in the development of LLMs is Yann LeCun, a French computer scientist who is known as the "father of deep learning." LeCun and his team at the University of Montreal developed the first neural network-based language model called the "Long Short-Term Memory" (LSTM) in 1990.
98
+
99
+ In recent years, OpenAI, a research organization founded by Elon Musk and others, has been a major player in the development of LLMs. OpenAI's GPT (Generative Pre-trained Transformer) series of models, including GPT-2, GPT-3, and now GPT-4, have been influential in advancing the field of LLMs.
100
+
101
+ In summary, while there is no single individual who can be credited with inventing LLMs, several researchers and organizations have played crucial roles in their development. Key contributors include Geoffrey Hinton, Yann LeCun, and OpenAI.
102
+ ```
103
+
104
  ## Things in Pipeline:
105
  1. Manual Testing and Evaluation against GPT-4 on text-generation-webui across 45 sample complex prompts.
106
  2. Nous Benchmark