Comments (4)
https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2 and https://huggingface.co/EleutherAI/gpt-neo-2.7B
from researchgpt.
Sounds really interesting! Have you made a fork where I can check out some of the modifications you're trying? I can think of a way for the embeddings but not sure about inference for gpt-neo
from researchgpt.
Not yet, having issues trying to get it working running locally on my machine. I think it this is sort of close to what is needed in the gpt function:
def gpt(self, prompt): print('Sending request to GPT-Neo') r = response = requests.post(HF_API_URL, headers=HF_headers, json=prompt) answer = r.choices[0]['text'] print('Done sending request to GPT-3') response = {'answer': answer, 'sources': sources} return response
where HF_API_URL = API_URL = "https://api-inference.huggingface.co/models/EleutherAI/gpt-neo-2.7B"
and headers = {"Authorization": "Bearer Hugging face API key"}
Was trying to test it with some dummy data on the HF playground but haven't figured it out yet. Will upload a fork if I get something going.
from researchgpt.
@EverythingNeurodiversity Sounds great, looking forward to it!
from researchgpt.
Related Issues (20)
- UnicodeDecodeError: utf-8 codec can't decode byte 0xce in position 0: invalid continuation byte
- Problem when performing the 'python main-local.py' HOT 3
- Error: Processing the pdf failed due to excess load. Please try again later. Check the URL if there is https:// at the beginning. If not, add it. HOT 6
- ModuleNotFoundError: No module named 'sklearn' HOT 1
- How much money to parse a paper. HOT 5
- I got this error during installation HOT 1
- what is best python3 version for this project? HOT 1
- reply:Error: Request to OpenAI failed. Please try again. is it a network problem? HOT 3
- ERROR: Could not build wheels for scikit-learn, which is required to install pyproject.toml-based projects HOT 2
- Error: Request to OpenAI failed. Please try again. HOT 1
- error:program get stopped when typing "python main-local.py" HOT 1
- Stuck in "Calculating embeddings" HOT 1
- how it works!? HOT 6
- TypeError: PageObject.extract_text() got an unexpected keyword argument 'visitor_text' HOT 1
- No app started when it says "Application startup complete" HOT 1
- Bug : Getting the error below when using the chrome extension.
- solved HOT 1
- excess load
- implement in a PHP laravel application
- ModuleNotFoundError: No module named 'openai.embeddings_utils'
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 researchgpt.