Comments (4)
@jonatanklosko Thanks!
For anyone interested in tokenization in Elixir:
https://github.com/fastrepl/fastrepl/blob/da5ab17590f6fa35eccbd9fe7b15b75929eb6655/lib/fastrepl/tokenizer.ex#L10-L19
from bumblebee.
Can you try:
Bumblebee.load_tokenizer({:hf, "Xenova/gpt-3.5-turbo"}, module: GPT2Tokenizer)
?
from bumblebee.
@seanmor5 I tried that, but I got
iex(1)> Bumblebee.load_tokenizer({:hf, "Xenova/gpt-3.5-turbo"}, module: GPT2Tokenizer)
** (ArgumentError) unknown keys [:module] in [module: GPT2Tokenizer], the allowed keys are: [:type]
(elixir 1.16.2) lib/keyword.ex:359: Keyword.validate!/2
(bumblebee 0.5.3) lib/bumblebee.ex:896: Bumblebee.load_tokenizer/2
iex:1: (file)
I am using cb26c2d.
from bumblebee.
The API changed, it's no longer a module, try type: :gpt2
: )
from bumblebee.
Related Issues (20)
- Featurizer different from python? HOT 10
- Weird behaviour with progress status. HOT 2
- Error when using TinyLlama HOT 2
- Confidences/probabilities for Whisper results
- Parameter persistence with sharding support HOT 4
- Tied word embeddings HOT 2
- [Documentation] Image struct is not correct in Livebook Examples HOT 2
- Token Classification error in Livebook HOT 1
- Running Whisper using bf16 fails HOT 1
- Bumblebee error when serving Mistral LLM with latest 0.5.0 release HOT 1
- Unknown error serving Llama 2 derivative model HOT 2
- Llama 2 derivative model errors expecting top_k to be provided HOT 2
- CUDA 12.2 support HOT 3
- Huggingface repository not found - `bert-base-google-bert` HOT 1
- Add support for "google/gemma-7b-it" HOT 1
- Just download a model from HuggingFace? HOT 5
- Support Mixtral HOT 4
- llama3 requires 2 eos_token_id's HOT 1
- Using bumblebee from git is broken HOT 2
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 bumblebee.