Comments (2)
I had the same problem, I solved it by using --model_generation_type llama-text-generation
from manifest.
I ran %pip install transformers==4.31.0
according to https://huggingface.co/NumbersStation/nsql-llama-2-7B/discussions/1
and the following curl worked for me on my MBPro(intel). I think the person who opened the issue is also the same person in the huggingface discussion, but cross posting here for others.
curl --location 'http://127.0.0.1:5002/completions'
--header 'Content-Type: application/json'
--data '{
"prompt": "Hello World",
"max_tokens": 1024,
"temperature": 0.0,
"repetition_penalty": 1,
"top_k": 50,
"top_p": 10,
"do_sample": "True",
"n": 1,
"max_new_tokens": 1024
}'
from manifest.
Related Issues (20)
- Fix import issues so you don't need pychat gpt HOT 1
- import errors? HOT 1
- Openai HOT 1
- Output tokens in addition to token_logprobs HOT 3
- Asynchronous run? HOT 3
- HuggingFace Hub HOT 3
- Docs for Embeddings? HOT 2
- ChatGPT support HOT 2
- Streaming API HOT 1
- Support logprobs for OpenAI models HOT 3
- Unify the run and run_chat
- Performance issue in caching for remote huggingface models HOT 3
- Unable to load local model : id must be in the form 'repo_name' or 'namespace/repo_name' HOT 4
- Not support gpt-3.5-turbo-16k HOT 1
- pull request #85 broke locally hosted Hugging Face models HOT 1
- pip install manifest-ml[api] fails? HOT 1
- Specify multiple gpus for deepspeed, accelerate, etc.
- Please do not hard code the api-version in the AzureChatClient
- How to load model with half-precision, such as float16 since only have limited gpu memory
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 manifest.