Comments (2)
Hi!
Right now, we support models like LLaMA via the Together API. You can set it up by following the instructions at https://github.com/stanford-oval/WikiChat#set-up-the-llm-endpoint.
Alternatively, you can use HuggingFace's TGI to host a local model. For that, you can use their Docker image by running a command like docker run --gpus all --shm-size 1g -p <port>:80 -v ./workdir:/data ghcr.io/huggingface/text-generation-inference:1.3.4 --model-id <model-name-from-the-huggingface-hub> --hostname 0.0.0.0 --num-shard <number-of-gpus>
where <port>
is the same port you set in https://github.com/stanford-oval/WikiChat/blob/main/llm_config.yaml#L43.
However, using a model like LLaMA-2-13B as is leads to poor results, as it is not good at following our few-shot prompts. So you might have a better shot with higher-quality models like Mistral/Mixtral, or instruction-tuned models.
We are planning to release small distilled (i.e. fine-tuned specifically for WikiChat) models soon, which you can host on a single GPU yourself, using TGI with the above command. These models perform much much better raw LLMs like LLaMA-2, so please stay tuned!
from wikichat.
Update: I've added the distilled models I mentioned. You can give them a try!
from wikichat.
Related Issues (14)
- Coming soon HOT 1
- "We have reached our daily quota. Please try again tomorrow." - not IP specific HOT 3
- make Colbert Index-Wiki got stuck at "Sorting codes..." HOT 12
- Most factual mode - gone HOT 6
- Will this repo support Mixtral (7bx8)?
- Is there an available API for your project? HOT 2
- Things to adjust when loading Local LLMs other than the distilled models HOT 2
- Database error while saving the current turn. HOT 1
- Integrating Wiki Knowledge from Multimodal Short Videos HOT 1
- These seven steps are not deterministic at each step, is it about alleviating hallucination rather than eliminating it? HOT 2
- the big model must be Openai ? HOT 1
- Online demo not working? HOT 5
- Extending WikiChat dataset to arXiv + more HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wikichat.