llama2-7b-WizardLM-alpaca-evol-instruct-35k-mini
It is a 4-bit qlora refinement of llama-v2-guanaco, fine tuned on the 35k rows of WizardLM dataset.
Benchmark Information:
Example:
from transformers import AutoTokenizer
import transformers
import torch
model = "aloobun/llama2-7b-WizardLM-alpaca-evol-instruct-35k-mini"
prompt = "Identify three classic arcade games and discuss their impact on the gaming industry."
tokenizer = AutoTokenizer.from_pretrained(model)
pipeline = transformers.pipeline(
"text-generation",
model=model,
torch_dtype=torch.float16,
device_map="auto",
)
sequences = pipeline(
f'[INST] {prompt} [/INST]',
do_sample=True,
top_k=10,
num_return_sequences=1,
eos_token_id=tokenizer.eos_token_id,
max_length=1048,
)
for seq in sequences:
print(f"Result: {seq['generated_text']}")
Output:
Result: [INST] Identify three classic arcade games and discuss their impact on the gaming industry. [/INST] Sure, here are three classic arcade games and their impact on the gaming industry:
1. Space Invaders: Space Invaders was released in 1978 by Taito and is considered one of the first popular video games. It introduced the concept of shooter games where players had to use a laser to blast aliens that were descending from a grid in the sky. The game's success led to the development of more space shooter games and the genre became popular in the 1980s. Its impact on the gaming industry is still felt today with many modern shooter games incorporating elements from Space Invaders.
2. Pac-Man: Pac-Man was released in 1980 by Namco and is another classic arcade game. Players controlled the character Pac-Man as he navigated through mazes and ate pellets while avoiding ghosts. The game's simple gameplay and colorful graphics made it a huge hit and became a cultural phenomenon. Its impact on the gaming industry is immense as it helped to establish arcade games as a popular form of entertainment for both casual and hardcore gamers.
3. Donkey Kong: Donkey Kong was released in 1981 by Nintendo and is another classic arcade game. Players controlled Jumpman (later renamed Mario) as he climbed up ladders to rescue a damsel in distress named Pauline from Donkey Kong. The game's success led to the development of more platformer games and the creation of Nintendo as a major gaming company. Its impact on the gaming industry is significant as it helped to establish Nintendo as a major player in the gaming industry and helped to create the iconic character of Mario.
In summary, Space Invaders, Pac-Man, and Donkey Kong are three classic arcade games that had a significant impact on the gaming industry. They helped to establish video games as a popular form of entertainment and created genres that are still popular today.
- Downloads last month
- 31
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.