mwitiderrick commited on
Commit
5807bb9
·
1 Parent(s): e356521

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +18 -0
README.md CHANGED
@@ -19,7 +19,25 @@ This can be done by setting realistic goals and targets, regularly reviewing you
19
  Additionally, participating in extracurricular activities and building a network of friends can also help in getting into a good university.
20
  """
21
  ```
 
 
 
 
 
 
 
22
 
 
 
 
 
 
 
 
 
 
 
 
23
  ## One-shot and Export
24
 
25
  ```bash
 
19
  Additionally, participating in extracurricular activities and building a network of friends can also help in getting into a good university.
20
  """
21
  ```
22
+ ```python
23
+ from deepsparse import TextGeneration
24
+
25
+ prompt = "How to become a great software engineer?"
26
+ formatted_prompt = f"<s> [|User|]\n{prompt}</s>[|Assistant|]\n"
27
+
28
+ model = TextGeneration(model="hf:nm-testing/MiniChat-3B-pruned-quant-50")
29
 
30
+ print(model(formatted_prompt, max_new_tokens=500).generations[0].text)
31
+ """
32
+ To become a great software engineer, you need to have a strong foundation in computer science and programming. Here are some tips to help you become a great software engineer:
33
+ 1. Learn a programming language: You need to learn at least one programming language that you can use to develop software applications. Some popular programming languages include Python, Java, and C++.
34
+ 2. Learn about data structures and algorithms: You need to learn about data structures and algorithms that you can use to develop software applications. You can learn about data structures like arrays, linked lists, and trees, and algorithms like sorting algorithms and dynamic programming.
35
+ 3. Practice your skills: You need to practice your skills in programming and data structures to become proficient in your chosen programming language. You can practice by working on open-source projects or contributing to open-source projects.
36
+ 4. Keep up to date: You need to keep up to date with new technologies and programming languages to stay relevant in the field. You can keep up to date by reading blogs, attending meetups, and participating in online communities.
37
+ 5. Collaborate with others: You can collaborate with others to develop software applications that can benefit society. You can collaborate with others by participating in open-source projects, contributing to open-source communities, and sharing knowledge with others.
38
+ By following these tips, you can become a great software engineer and develop software applications that can benefit society.
39
+ """
40
+ ```
41
  ## One-shot and Export
42
 
43
  ```bash