Text Generation
Transformers
Safetensors
falcon
text-generation-inference
Edit model card

πŸ‡°πŸ‡· quantumaikr/falcon-180B-chat-instruct

quantumaikr/falcon-180B-chat-instruct is a 180B parameters causal decoder-only model built by quantumaikr based on Falcon-180B-chat

How to Get Started with the Model

To run inference with the model in full bfloat16 precision you need approximately 8xA100 80GB or equivalent.

from transformers import AutoTokenizer, AutoModelForCausalLM
import transformers
import torch

model = "quantumaikr/falcon-180B-chat-instruct"

tokenizer = AutoTokenizer.from_pretrained(model)
pipeline = transformers.pipeline(
    "text-generation",
    model=model,
    tokenizer=tokenizer,
    torch_dtype=torch.bfloat16,
    trust_remote_code=True,
    device_map="auto",
)
sequences = pipeline(
   "Girafatron is obsessed with giraffes, the most glorious animal on the face of this Earth. Giraftron believes all other animals are irrelevant when compared to the glorious majesty of the giraffe.\nDaniel: Hello, Girafatron!\nGirafatron:",
    max_length=200,
    do_sample=True,
    top_k=10,
    num_return_sequences=1,
    eos_token_id=tokenizer.eos_token_id,
)
for seq in sequences:
    print(f"Result: {seq['generated_text']}")

Contact

πŸ‡°πŸ‡· www.quantumai.kr

πŸ‡°πŸ‡· [email protected] [μ΄ˆκ±°λŒ€μ–Έμ–΄λͺ¨λΈ κΈ°μˆ λ„μž… λ¬Έμ˜ν™˜μ˜]

Downloads last month
1,443
Safetensors
Model size
179B params
Tensor type
FP16
Β·
Inference Examples
Inference API (serverless) has been turned off for this model.

Datasets used to train quantumaikr/falcon-180B-chat-instruct