Instructions to use sunweiwei/AirRep-Flan-Small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sunweiwei/AirRep-Flan-Small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="sunweiwei/AirRep-Flan-Small")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("sunweiwei/AirRep-Flan-Small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Improve model card: Add metadata, paper link, code link, and sample usage
Verified signatureThis PR enhances the model card by: - Adding `license: apache-2.0`, `library_name: transformers`, and `pipeline_tag: feature-extraction` to the metadata section. - Adding a direct link to the paper [Enhancing Training Data Attribution with Representational Optimization](https://huggingface.co/papers/2505.18513). - Adding a clear link to the GitHub repository. - Including a "Sample Usage" code snippet from the GitHub README to demonstrate how to use the model with the `airrep` library (which is built on `transformers`). These changes will make the model more discoverable and user-friendly on the Hugging Face Hub.245ae5a
-
Update README.md
Verified signaturef3add87 -
Upload folder using huggingface_hub
Verified signature411a334 -
initial commit
Verified signatureeeb36f9