Comments (2)
Hi @jodosha !
Did you tried with the gpt4all instructions too? the model seems before the ggml2 format conversion.
Here it is how I've converted mine:
wget -O tokenizer.model https://huggingface.co/decapoda-research/llama-30b-hf/resolve/main/tokenizer.model
mkdir models
cp ggml-alpaca-7b-q4.bin models/
git clone https://gist.github.com/eiz/828bddec6162a023114ce19146cb2b82
pip install sentencepiece
python 828bddec6162a023114ce19146cb2b82/gistfile1.txt models tokenizer.model
# this should generate a models/ggml-alpaca-7b-q4.bin.tmp file
What's the error you have?
from localai.
@mudler Thanks, it works!
You made me realize I should use the bin.tmp
file instead of the .bin
one.
The docker
argument should be:
- --model /models/ggml-alpaca-7b-q4.bin
+ --model /models/ggml-alpaca-7b-q4.bin.tmp
from localai.
Related Issues (20)
- The stores link on https://localai.io/ is broken HOT 3
- Exl2 models don't seem to be working with exllama2 HOT 1
- feat: [vLLM] Ability to use the tokenizer template
- feat: install flash-attn in the Docker image
- feat: llamafile backend HOT 1
- I would like to change the settings of llama-cpp in detail, but which file should I change? HOT 6
- Please support reranker API HOT 3
- docker download failure `4fadada67c94` - EOF HOT 3
- Building on macOS (Metal): "xcrun: error: unable to find utility "metal", not a developer tool or in PATH" HOT 1
- OpenVINO test on i3-N300 gives Method not implemented HOT 15
- Cannot fetch Huggingface gallery HOT 6
- limit models to api keys HOT 1
- After several exchanges, llama-cpp hangs up and no longer returns any response. HOT 7
- Very difficult to use, there are a lot of bugs HOT 2
- llama-cpp CPU 1500%οΌVery slow...What to do? HOT 1
- tts coqui xtts_v2 not working without speaker_idx HOT 2
- ERROR [api builder 3/12] COPY .git . HOT 2
- LOCALAI_LOG_LEVEL seemingly does nothing HOT 4
- I would like the --tensor-parallel-size setting of the vllm backend to be added to yaml. HOT 1
- embeddings curl example on Mac "could not load model: rpc error" HOT 1
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 localai.