Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

TextMachineProject
/
NewsBERT_1800-1920-Temporal

Fill-Mask
Transformers
Safetensors
bert
masked-language-modeling
historical-nlp
temporal-language-model
Model card Files Files and versions
xet
Community

Instructions to use TextMachineProject/NewsBERT_1800-1920-Temporal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use TextMachineProject/NewsBERT_1800-1920-Temporal with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="TextMachineProject/NewsBERT_1800-1920-Temporal")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("TextMachineProject/NewsBERT_1800-1920-Temporal")
    model = AutoModelForMaskedLM.from_pretrained("TextMachineProject/NewsBERT_1800-1920-Temporal", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
NewsBERT_1800-1920-Temporal
1.32 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
npedrazzini's picture
npedrazzini
Update continuous_time_embedding.py
3eb4aa8 verified 16 days ago
  • .gitattributes
    1.58 kB
    Upload event_spike_test.png about 1 month ago
  • README.md
    10.8 kB
    Update README.md 16 days ago
  • config.json
    752 Bytes
    Rename full_model/config.json to config.json about 1 month ago
  • continuous_time_embedding.py
    5.13 kB
    Update continuous_time_embedding.py 16 days ago
  • event_spike_test.png
    430 kB
    xet
    Upload event_spike_test.png about 1 month ago
  • model.safetensors
    438 MB
    xet
    Rename full_model/model.safetensors to model.safetensors about 1 month ago
  • optimizer.pt
    877 MB
    xet
    Upload continuous-time NewsBERT (full fine-tune, 1 epoch) about 1 month ago
  • post_inject_norm.pt
    8.17 kB
    xet
    Upload continuous-time NewsBERT (full fine-tune, 1 epoch) about 1 month ago
  • rng_state.pth
    14.6 kB
    xet
    Upload continuous-time NewsBERT (full fine-tune, 1 epoch) about 1 month ago
  • scheduler.pt
    1.47 kB
    xet
    Upload continuous-time NewsBERT (full fine-tune, 1 epoch) about 1 month ago
  • time_embed.pt
    153 kB
    xet
    Upload continuous-time NewsBERT (full fine-tune, 1 epoch) about 1 month ago
  • tokenizer.json
    711 kB
    Upload folder using huggingface_hub about 1 month ago
  • tokenizer_config.json
    391 Bytes
    Upload folder using huggingface_hub about 1 month ago
  • trainer_state.json
    3.44 MB
    Upload continuous-time NewsBERT (full fine-tune, 1 epoch) about 1 month ago