Instructions to use mideind/IceBERT-PoS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mideind/IceBERT-PoS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="mideind/IceBERT-PoS", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mideind/IceBERT-PoS", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add support for transformers version>5 as well as 4 (backwards compatible).
The RobertaTokenizer v5 removed `encode_plus`, rather use `__call__` when `encode_plus` is missing.9f03d61 -
Format modeling
27880a7 -
Reformat config file
d2f797f
-
Fix typo in unsqueeze
Verified signaturedca38d2
-
adding the ifd conversion as a method on the model
aa55a31 -
adding some debug logging for timings
4ede3eb -
changing interface to accept words instead of a sentence string. Documenting the truncation flag
3d90a1f
-
more vectorization
1114b8e -
more vectorization of logits to labels
bca5d58 -
add vectorized and more stable way to aggregate subwords to words
a2c9d48 -
improve comments
3bce6c8 -
fix bad readme and remove warnings about uninitialized tensors
6edf0cd -
add support for IFD tags and some refactoring
d50a6a0 -
Fix batched word masking
72d99d6 -
Fix inconsistencies with the old model - now works equally
aaca62a
-
Add readme with directions on how to run the model
d7ae5c8 -
Delete __init__.py
Verified signature37e6c2b -
Delete __pycache__
Verified signature55c4a04 -
Upload folder using huggingface_hub
Verified signature2d923bf -
initial commit
Verified signaturef17941f