Comments (2)
Line 106 in bab2d90
this is about where we should be moving a model to GPU.
what would also need to happen to go along with that is moving the text inputs to the same device, about here:
Line 162 in bab2d90
from surprisal.
added GPU support in Causal HF models. Since Masked LMs are not yet supported, this doesn't apply for now.
from surprisal.
Related Issues (13)
- Error when using Python-based tokenizers HOT 1
- Support BERT-like bidirectional encoders for surprisal computation
- Slicing in SurprisalArray is not fully Pythonic
- compute surprisal for Chinese characters HOT 6
- cyclical python version reqs causing `pip install` to fail
- Add deprecation warning to OpenAI models: OpenAI has deprecated their logprobs API for user input HOT 5
- Are surprisal values across different batch sizes slightly different?
- Make the CI stuff work
- Indexing into SurprisalArray using singletons fails in NGramSurprisal.
- Conflating causal LM and "gpt" model class
- Adding support for OpenAI chat models HOT 1
- Dependency issues in Python 3.12 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 surprisal.