Comments (2)
for more details, I tried execute
pip install -e .
in directory: binding/python
however, it seems not working:
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Obtaining file:///home/weiqiang/lhc/pkgs/tokenizers-main/bindings/python
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPConnection object at 0xffff9ac4c2b0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /pypi/simple/maturin/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPConnection object at 0xffff9ac4c250>: Failed to establish a new connection: [Errno -2] Name or service not known')': /pypi/simple/maturin/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPConnection object at 0xffff9abeb310>: Failed to establish a new connection: [Errno -2] Name or service not known')': /pypi/simple/maturin/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPConnection object at 0xffff9abeb520>: Failed to establish a new connection: [Errno -2] Name or service not known')': /pypi/simple/maturin/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPConnection object at 0xffff9abeb730>: Failed to establish a new connection: [Errno -2] Name or service not known')': /pypi/simple/maturin/
ERROR: Could not find a version that satisfies the requirement maturin<2.0,>=1.0 (from versions: none)
ERROR: No matching distribution found for maturin<2.0,>=1.0
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
from tokenizers.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
from tokenizers.
Related Issues (20)
- Tokens Removed from Trained Custom BPE Tokenizer
- Llama3 tokenizer with Incorrect offset_mapping HOT 1
- Loading `tokenizer.model` with Rust API HOT 5
- Why the tokenizer is slower than tiktoken? HOT 1
- Why are 'unknown' tokens randomly added to my tokenized input? HOT 2
- Error: Cannot find module 'tokenizers/bindings/tokenizer'
- ❓Get stats (e.g. counts) about the merged pairs
- Convert huggingface tokenizer into sentencepiece format
- How to write custom Wordpiece class?
- Link to download the training text in `docs/source/quicktour.rst` is broken
- Special token handling breaks idempotency of sentencepiece due to extra spaces HOT 4
- Strange warnings with tokenizer for some models HOT 3
- Bug with `CodeQwen1.5`: `data did not match any variant of untagged enum PyPreTokenizerTypeWrapper` HOT 1
- Converting `tokenizers` tokenizers into `tiktoken` tokenizers HOT 4
- How to Batch-Encode Paired Input Sentences with Tokenizers: Seeking Clarification
- How to allow the merging of consecutive newline tokens \n when training a byte-level bpe tokenizer?
- Might be a bug in Unigram Trainer
- Training HuggingFace tokenizer - ignore_merges
- "from_pretrained" read wrong config file. not "tokenizer_config.json", but "config.json"
- Memory leak for large strings 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 tokenizers.