File size: 1,322 Bytes
572581d
 
 
 
 
 
de2584d
572581d
 
 
53973c1
 
bcdd68b
53973c1
bcdd68b
 
 
53973c1
 
 
bcdd68b
53973c1
bcdd68b
 
 
 
 
 
53973c1
aa1b594
53973c1
bcdd68b
53973c1
bcdd68b
 
 
 
 
 
 
 
 
53973c1
 
 
bcdd68b
53973c1
bcdd68b
 
 
 
aa1b594
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
title: HEA Query
emoji: 🔬
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: "5.45.0"  # or any version 
app_file: app.py
pinned: true
---
# 🔬 HEA Query

This Hugging Face Space allows you to **query high-entropy alloys (HEAs)** using a combination of:

- **FAISS vector database** for paper embeddings (semantic search)
- **Structured CSV datasets** with properties like hardness, bulk modulus, yield strength, etc.
- **Large language model (Mistral-7B-Instruct)** for intelligent answers

---

## Features

- Query 3000+ HEA research papers via FAISS embeddings
- Filter and rank HEA datasets based on numeric properties or phase (fcc, bcc, hcp, etc.)
- Interactive Gradio interface with:
  - LLM answer
  - CSV matches table
  - Paper context (FAISS)

---

## How to Use

1. Enter your **question about HEAs** in the text box.  
   Examples:
   - `"Which FCC HEAs have hardness > 200 HV?"`
   - `"List high bulk modulus BCC alloys"`
2. Click **Submit**.
3. View the results:
   - **LLM Answer**: AI summary based on papers and datasets
   - **CSV Matches**: Table of filtered alloys
   - **Paper Context (FAISS)**: Text excerpts from research papers

---

## Setup (for developers)

1. Clone the Space repo:
   ```bash
   git clone https://huggingface.co/spaces/taradutt007/README.md
   cd <space-name>