xgen-7b-8k-base
Salesforce AI Research (United States) · Language (text)
📄 8K context🔓 Open weights (downloadable)⚖️ apache-2.0
Which way is for me?
🧑💻 For developers
vLLM
vllm serve Salesforce/xgen-7b-8k-baseTransformers (Python)
from transformers import pipeline
pipe = pipeline("text-generation", model="Salesforce/xgen-7b-8k-base")Words used here
- GGUF
- The file format LM Studio, Ollama and llama.cpp use to run a model.
- Quantization (Q4, Q8)
- Shrinking a model by storing numbers less precisely: Q4 smallest and slightly weaker, Q8 almost full, FP16 full.
- VRAM
- The graphics card's memory (or shared memory on a Mac); the model has to fit in it.
- Context
- The most text the model can see at once in a conversation (questions, answers and files).
- Tokens per second
- How fast the answer is written; 20 is about reading speed, 5 is slow.
From the Hugging Face model card
Official research release for the family of XGen models (7B) by Salesforce AI Research:
Limitations
This release is for research purposes only in support of an academic paper. Our models, datasets, and code are not specifically designed or evaluated for all downstream purposes. We strongly recommend users evaluate and address potential concerns related to accuracy, safety, and fairness before deploying this model.
Source: Hugging Face · Salesforce/xgen-7b-8k-base · License: apache-2.0
Hardware and running it
Cloud Only through the maker's API or cloud services; it cannot run on your own hardware.
Links come from the vendor's official site and the model card the vendor published · Updated: