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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

saraffi
/
arabert-lstm-four-classes

Text Classification
Keras
Arabic
Model card Files Files and versions
xet
Community

Instructions to use saraffi/arabert-lstm-four-classes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Keras

    How to use saraffi/arabert-lstm-four-classes with Keras:

    # Available backend options are: "jax", "torch", "tensorflow".
    import os
    os.environ["KERAS_BACKEND"] = "jax"
    
    import keras
    
    model = keras.saving.load_model("hf://saraffi/arabert-lstm-four-classes")
    
  • Notebooks
  • Google Colab
  • Kaggle
arabert-lstm-four-classes
5.54 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
saraffi's picture
saraffi
Update README.md
5bfce35 verified 10 months ago
  • .gitattributes
    1.58 kB
    Upload 4 files 10 months ago
  • README.md
    166 Bytes
    Update README.md 10 months ago
  • label_encoder.pkl
    523 Bytes
    xet
    Initial model upload 10 months ago
  • lstm_arabert_model.keras
    5.54 MB
    xet
    Initial model upload 10 months ago
  • model.py
    519 Bytes
    Initial model upload 10 months ago
  • tokenizer.txt
    28 Bytes
    Initial model upload 10 months ago