Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

pavstev
/
cronlm

Translation
Transformers
ONNX
Transformers.js
English
t5
text2text-generation
cron
scheduling
cronlm
Model card Files Files and versions
xet
Community

Instructions to use pavstev/cronlm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use pavstev/cronlm with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "translation" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("translation", model="pavstev/cronlm")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("pavstev/cronlm")
    model = AutoModelForSeq2SeqLM.from_pretrained("pavstev/cronlm")
  • Transformers.js

    How to use pavstev/cronlm with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('translation', 'pavstev/cronlm');
  • Notebooks
  • Google Colab
  • Kaggle
cronlm
52.3 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
pavstev's picture
pavstev
Add merged INT8 decoder for transformers.js compatibility
7a8349c verified about 7 hours ago
  • onnx
    Add merged INT8 decoder for transformers.js compatibility about 7 hours ago
  • .gitattributes
    1.52 kB
    initial commit about 8 hours ago
  • README.md
    2.24 kB
    fix: pipeline_tag -> translation (valid Hub taxonomy) about 8 hours ago
  • config.json
    699 Bytes
    cronlm: 99.2% synth / 97.3% adversarial / INT8 ONNX about 8 hours ago
  • generation_config.json
    122 Bytes
    cronlm: 99.2% synth / 97.3% adversarial / INT8 ONNX about 8 hours ago
  • special_tokens_map.json
    2.54 kB
    cronlm: 99.2% synth / 97.3% adversarial / INT8 ONNX about 8 hours ago
  • spiece.model
    792 kB
    xet
    cronlm: 99.2% synth / 97.3% adversarial / INT8 ONNX about 8 hours ago
  • tokenizer.json
    2.42 MB
    cronlm: 99.2% synth / 97.3% adversarial / INT8 ONNX about 8 hours ago
  • tokenizer_config.json
    21 kB
    cronlm: 99.2% synth / 97.3% adversarial / INT8 ONNX about 8 hours ago