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

keras
/
llama3_instruct_8b_en

Text Generation
KerasHub
Keras
English
text-generation-inference
text-to-text-generation
text-conversation
Model card Files Files and versions
xet
Community

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

  • Libraries
  • KerasHub

    How to use keras/llama3_instruct_8b_en with KerasHub:

    import keras_hub
    
    # Create a LlamaCausalLM model
    task = keras_hub.models.LlamaCausalLM.from_preset("hf://keras/llama3_instruct_8b_en")
    
    import keras_hub
    
    # Create a Backbone model unspecialized for any task
    backbone = keras_hub.models.Backbone.from_preset("hf://keras/llama3_instruct_8b_en")
    
  • Keras

    How to use keras/llama3_instruct_8b_en with Keras:

    # Available backend options are: "jax", "torch", "tensorflow".
    import os
    os.environ["KERAS_BACKEND"] = "jax"
    
    import keras
    
    model = keras.saving.load_model("hf://keras/llama3_instruct_8b_en")
    
  • Notebooks
  • Google Colab
  • Kaggle
llama3_instruct_8b_en
32.1 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 11 commits
Divyasreepat's picture
Divyasreepat
Update README.md with new model card content
ddbd9bf verified 11 months ago
  • assets
    Upload folder using huggingface_hub over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    7.92 kB
    Update README.md with new model card content 11 months ago
  • config.json
    744 Bytes
    Upload folder using huggingface_hub 11 months ago
  • metadata.json
    195 Bytes
    Upload folder using huggingface_hub 11 months ago
  • model.weights.h5
    16.1 GB
    xet
    Upload folder using huggingface_hub over 1 year ago
  • model.weights.json
    31.5 kB
    Upload folder using huggingface_hub 11 months ago
  • model_00000.weights.h5
    10.6 GB
    xet
    Upload folder using huggingface_hub 11 months ago
  • model_00001.weights.h5
    5.44 GB
    xet
    Upload folder using huggingface_hub 11 months ago
  • preprocessor.json
    1.63 kB
    Upload folder using huggingface_hub 11 months ago
  • task.json
    3.18 kB
    Upload folder using huggingface_hub 11 months ago
  • tokenizer.json
    757 Bytes
    Upload folder using huggingface_hub over 1 year ago