Comments (5)
That is because phoGPT
uses tensors with bias
parameter in addition to weight
parameter and llama.cpp
currently does not support MPT-trained model with such feature. I created a fork of llama.cpp
here some months back to make it able to run phoGPT
. Perhaps applying same method will also work with latest version of llama.cpp
from phogpt.
Thanks. I will take a look and respond back soon.
from phogpt.
Thanks @nviet and @xtfocus
Here is the PR I just made for llama.cpp to address this issue, following @nviet's commit with minor modifications to make 'bias' parameters optional (i.e. now it works for both MPT and PhoGPT):
ggerganov/llama.cpp#5638
from phogpt.
PR was merged.
I will close this issue.
from phogpt.
@xtfocus I faced the same issue. Then I found @nviet's solution on Huggingface, and it worked!
cd llama-cpp-python
git checkout e9bc4c4baf3f121a178dec215770ccd0ac86c28e
cd vendor
git clone https://github.com/nviet/llama.cpp
cd ..
pip install .
from phogpt.
Related Issues (20)
- What is the data format to perform fine turning of the phoGPT model? HOT 1
- Is there a quantization version support in the future? HOT 3
- How can I get the model to run on vLLM? HOT 2
- [Question] Hardware requirements with vLLM HOT 1
- Context Window of PhoGPT ? HOT 1
- Có giới thiệu và hướng dẫn bằng Tiếng Việt không bạn ơi! HOT 1
- Mình sử dụng model này bằng CPU được không bạn ơi? HOT 4
- Redistributing the model in other format HOT 1
- 4/8-bit with bitsandbytes HOT 1
- Do you have any plan for building a bi-lingual language English - Vietnames in the future? HOT 1
- Error message: "llama.cpp error: 'done_getting_tensors: wrong number of tensors; expected 388, got 195'" HOT 8
- Evaluation lack of context HOT 3
- hardware requirements to run finetune HOT 1
- Incomplete Response from 4bit Version of PhoGPT HOT 1
- [Question] Hardware requirements for PhoGPT HOT 1
- Which prompt format we use for PhoGPT without instruct model! HOT 3
- PhoGPT-7B5-Instruct has only one word repeated over and over again. HOT 10
- Any online demo available? HOT 1
- Could you explain what is the diference the non-instruct and instruct PhoGPT verrsion ? 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 phogpt.