davidshtian commited on
Commit
68b4aaa
1 Parent(s): 491acbf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -23,8 +23,10 @@ Note: To compile the mistralai/Mistral-7B-Instruct-v0.2 on Inf2, you need to upd
23
  >>> from optimum.neuron import pipeline
24
 
25
  >>> p = pipeline('text-generation', 'davidshtian/Mistral-7B-Instruct-v0.2-neuron-1x2048-2-cores')
26
- >>> p("My favorite place on earth is", max_new_tokens=256, do_sample=True, top_k=50)
27
- [{'generated_text': 'My favorite place on earth is located just a short distance away.\n\nFrom a culinary perspective, the Southwestern states offer a unique blend of Mexican and Native American influences, from the fiery spices of southwest Mexico, to the vibrant colors and intricate designs of southwestern Native American art, all the way to the innovative fusion of flavors that can only be found in these borderlands communities. In honor of this rich food culture, we’ve put together a list of some must-try Southwestern dishes and the cities where you can find them. Read on to begin planning your taste adventure!\n\n## Chili Con Carne\n\nOne of the most iconic dishes of the Southwestern US is chili con carne. This hearty stew is made with a blend of ground beef, kidney beans, chili peppers, garlic, onions, and tomatoes, all simmered together for hours until the flavors meld into a savory, spicy, and aromatic concoction. While there are countless variations on this classic dish, it is most commonly associated with the city of San Antonio, Texas. This bustling metropolis on the San Antonio River is famous for its Texas-sized portions of “bowl'}]
 
 
28
  ```
29
 
30
  This repository contains tags specific to versions of `neuronx`. When using with 🤗 `optimum-neuron`, use the repo revision specific to the version of `neuronx` you are using, to load the right serialized checkpoints.
 
23
  >>> from optimum.neuron import pipeline
24
 
25
  >>> p = pipeline('text-generation', 'davidshtian/Mistral-7B-Instruct-v0.2-neuron-1x2048-2-cores')
26
+ >>> p("My favorite place on earth is", max_new_tokens=64, do_sample=True, top_k=50)
27
+ [{'generated_text': 'My favorite place on earth is Hawaii,” she said, her voice bright and clear despite her quietness.
28
+ “That place, and the ocean. But it’s hard to ever live there permanently. The ocean is there and it calls to me, but
29
+ it’s big and vast and doesn’t allow me a lot of freedom.”'}]
30
  ```
31
 
32
  This repository contains tags specific to versions of `neuronx`. When using with 🤗 `optimum-neuron`, use the repo revision specific to the version of `neuronx` you are using, to load the right serialized checkpoints.