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

nix3s
/
CHSA_Model

Text-to-Image
Diffusers
Safetensors
qwen3
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use nix3s/CHSA_Model with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen3-1.7B-Base", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("nix3s/CHSA_Model")
    
    prompt = "{   \"patient_id\": \"string\",   \"symptoms\": \"Patient de 45 ans, douleur thoracique irradiant vers le bras gauche, sueurs froides\",   \"age\": 120,   \"antecedents\": \"string\",   \"constantes\": {     \"fc\": 110,     \"spo2\": 94,     \"ta\": \"145/90\",     \"temperature\": 37.2   },   \"langue\": \"fr\" }'"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
CHSA_Model
6.89 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
nix3s's picture
nix3s
Upload 2 files
b24c4ad verified 4 months ago
  • images
    Add 3 files 4 months ago
  • .gitattributes
    2.36 kB
    upload model 4 months ago
  • README.md
    661 Bytes
    initial commit 4 months ago
  • config.json
    1.36 kB
    upload model 4 months ago
  • generation_config.json
    117 Bytes
    upload model 4 months ago
  • model-00001-of-00002.safetensors
    4.97 GB
    xet
    Add 3 files 4 months ago
  • model-00002-of-00002.safetensors
    1.91 GB
    xet
    Add 3 files 4 months ago
  • model.safetensors.index.json
    25.6 kB
    upload model 4 months ago
  • preprocessor_config.json
    2 Bytes
    Upload 2 files 4 months ago
  • processor_config.json
    2 Bytes
    Upload 2 files 4 months ago
  • special_tokens_map.json
    616 Bytes
    upload model 4 months ago
  • tokenizer.json
    11.4 MB
    xet
    upload model 4 months ago
  • tokenizer_config.json
    5.52 kB
    upload model 4 months ago