Mahmoud Amiri commited on
Commit
ee52ba9
·
1 Parent(s): ae7273f

update example

Browse files
Files changed (2) hide show
  1. README.md +4 -4
  2. app.py +1 -2
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Lit2Vec TL;DR Summarizer
3
  emoji: 🧪
4
  colorFrom: blue
5
  colorTo: green
@@ -10,10 +10,10 @@ pinned: false
10
  hf_oauth: true
11
  hf_oauth_scopes:
12
  - inference-api
13
- short_description: TL;DR summarizer for chemistry research abstracts
14
  ---
15
 
16
 
17
- Lit2Vec TL;DR is an abstractive summarization tool for chemistry research abstracts, built using Gradio and a fine-tuned DistilBART model. It generates concise, structured summaries capturing the **methods**, **results**, and **significance** of scientific papers.
18
- 🔬 Model: [`Bocklitz-Lab/lit2vec-tldr-bart-model`](https://huggingface.co/Bocklitz-Lab/lit2vec-tldr-bart-model)
19
 
 
1
  ---
2
+ title: Lit2Vec Subfield Classifier
3
  emoji: 🧪
4
  colorFrom: blue
5
  colorTo: green
 
10
  hf_oauth: true
11
  hf_oauth_scopes:
12
  - inference-api
13
+ short_description: Lit2Vec Subfield Classifier
14
  ---
15
 
16
 
17
+ This Space takes a chemistry abstract or summary, encodes it with intfloat/e5-large-v2, and predicts one or more chemistry subfields using a multilabel MLP classifier.
18
+ 🔬 Model: [`Bocklitz-Lab/lit2vec-subfield-classifier-model`](https://huggingface.co/Bocklitz-Lab/lit2vec-subfield-classifier-model)
19
 
app.py CHANGED
@@ -89,8 +89,7 @@ with gr.Blocks(fill_height=True) as demo:
89
  label="Paste abstract / summary",
90
  placeholder="Paste your chemistry abstract here…",
91
  lines=12,
92
- value="We investigate Pt-based nanoparticle catalysts for hydrogen evolution, "
93
- "demonstrating improved activity via ligand tuning and support engineering."
94
  )
95
 
96
  run_btn = gr.Button("Predict subfield(s)")
 
89
  label="Paste abstract / summary",
90
  placeholder="Paste your chemistry abstract here…",
91
  lines=12,
92
+ value="Ultraviolet B (UVB; 290~320nm) irradiation-induced lipid peroxidation induces inflammatory responses that lead to skin wrinkle formation and epidermal thickening. Peroxisome proliferator-activated receptor (PPAR) α/γ dual agonists have the potential to be used as anti-wrinkle agents because they inhibit inflammatory response and lipid peroxidation. In this study, we evaluated the function of 2-bromo-4-(5-chloro-benzo[d]thiazol-2-yl) phenol (MHY 966), a novel synthetic PPAR α/γ dual agonist, and investigated its anti-inflammatory and anti-lipid peroxidation effects. The action of MHY 966 as a PPAR α/γ dual agonist was also determined in vitro by reporter gene assay. Additionally, 8-week-old melanin-possessing hairless mice 2 (HRM2) were exposed to 150 mJ/cm2 UVB every other day for 17 days and MHY 966 was simultaneously pre-treated every day for 17 days to investigate the molecular mechanisms involved. MHY 966 was found to stimulate the transcriptional activities of both PPAR α and γ. In HRM2 mice, we found that the skins of mice exposed to UVB showed significantly increased pro-inflammatory mediator levels (NF-κB, iNOS, and COX-2) and increased lipid peroxidation, whereas MHY 966 co-treatment down-regulated these effects of UVB by activating PPAR α and γ. Thus, the present study shows that MHY 966 exhibits beneficial effects on inflammatory responses and lipid peroxidation by simultaneously activating PPAR α and γ. The major finding of this study is that MHY 966 demonstrates potential as an agent against wrinkle formation associated with chronic UVB exposure."
 
93
  )
94
 
95
  run_btn = gr.Button("Predict subfield(s)")