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

  • Log In
  • Sign Up

usvsnsp
/
code-vs-nl

Text Classification
Transformers
PyTorch
TensorBoard
ONNX
Safetensors
English
distilbert
Generated from Trainer
text-embeddings-inference
Model card Files Files and versions
xet
Metrics Training metrics Community
3

Instructions to use usvsnsp/code-vs-nl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use usvsnsp/code-vs-nl with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="usvsnsp/code-vs-nl")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("usvsnsp/code-vs-nl")
    model = AutoModelForSequenceClassification.from_pretrained("usvsnsp/code-vs-nl")
  • Notebooks
  • Google Colab
  • Kaggle
code-vs-nl
806 MB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 12 commits
asofter's picture
asofter
ONNX-converted version of the model
12ad0f2 verified about 2 years ago
  • onnx
    ONNX-converted version of the model about 2 years ago
  • runs
    End of training over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • .gitignore
    13 Bytes
    Training in progress, step 500 over 3 years ago
  • README.md
    1.86 kB
    Librarian Bot: Add base_model information to model (#2) over 2 years ago
  • config.json
    743 Bytes
    Training in progress, step 500 over 3 years ago
  • model.safetensors
    268 MB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict"

    What is a pickle import?

    268 MB
    xet
    Training in progress, step 1000 over 3 years ago
  • special_tokens_map.json
    125 Bytes
    Upload tokenizer over 3 years ago
  • tokenizer.json
    711 kB
    Upload tokenizer over 3 years ago
  • tokenizer_config.json
    360 Bytes
    Upload tokenizer over 3 years ago
  • training_args.bin

    Detected Pickle imports (6)

    • "transformers.training_args.OptimizerNames",
    • "transformers.trainer_utils.HubStrategy",
    • "transformers.trainer_utils.SchedulerType",
    • "transformers.training_args.TrainingArguments",
    • "torch.device",
    • "transformers.trainer_utils.IntervalStrategy"

    How to fix it?

    3.45 kB
    xet
    Training in progress, step 500 over 3 years ago
  • vocab.txt
    232 kB
    Upload tokenizer over 3 years ago