Add pipeline tag and improve model card
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
---
|
| 2 |
-
license: mit
|
| 3 |
language:
|
| 4 |
- en
|
|
|
|
|
|
|
| 5 |
tags:
|
| 6 |
- analog-circuits
|
| 7 |
- circuit-generation
|
|
@@ -11,35 +12,48 @@ tags:
|
|
| 11 |
|
| 12 |
# AnalogToBi
|
| 13 |
|
| 14 |
-
AnalogToBi is a generative framework for device-level analog circuit topology generation.
|
| 15 |
-
The model generates valid analog circuit topologies conditioned on a target circuit type using a Transformer decoder.
|
| 16 |
|
| 17 |
-
|
| 18 |
|
| 19 |
-
|
| 20 |
-
- Bipartite graph circuit representation separating devices and nets
|
| 21 |
-
- Grammar-guided decoding to enforce electrical validity
|
| 22 |
-
- Device renaming data augmentation to improve generalization
|
| 23 |
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
---
|
| 27 |
|
| 28 |
## Paper
|
| 29 |
|
| 30 |
-
AnalogToBi: Device-Level Analog Circuit Topology Generation via Bipartite Graph and Grammar Guided Decoding
|
| 31 |
-
|
| 32 |
-
arXiv: https://arxiv.org/abs/2603.08720
|
| 33 |
|
| 34 |
---
|
| 35 |
|
| 36 |
## Code
|
| 37 |
|
| 38 |
-
Official implementation:
|
| 39 |
-
https://github.com/Seungmin0825/AnalogToBi
|
| 40 |
|
| 41 |
---
|
| 42 |
|
| 43 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
+
license: mit
|
| 5 |
+
pipeline_tag: text-generation
|
| 6 |
tags:
|
| 7 |
- analog-circuits
|
| 8 |
- circuit-generation
|
|
|
|
| 12 |
|
| 13 |
# AnalogToBi
|
| 14 |
|
| 15 |
+
AnalogToBi is a generative framework for device-level analog circuit topology generation, introduced in the paper [AnalogToBi: Device-Level Analog Circuit Topology Generation via Bipartite Graph and Grammar Guided Decoding](https://huggingface.co/papers/2603.08720).
|
|
|
|
| 16 |
|
| 17 |
+
The model generates valid and novel analog circuit topologies conditioned on a target circuit type using a Transformer decoder.
|
| 18 |
|
| 19 |
+
## Key Features
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
+
- **Circuit-type conditioning**: Explicit functional control across 15 circuit categories (e.g., OpAmp, LDO, Comparator).
|
| 22 |
+
- **Bipartite graph representation**: Decouples devices and nets into distinct node types for better structural generalization.
|
| 23 |
+
- **Grammar-guided decoding**: State machine-based constrained decoding enforces electrical validity during generation.
|
| 24 |
+
- **Device renaming augmentation**: Randomizes device numbering to mitigate memorization and improve novelty.
|
| 25 |
+
|
| 26 |
+
Experimental results show that AnalogToBi achieves 97.8% validity and 92.1% novelty in generated circuits without human-in-the-loop training.
|
| 27 |
|
| 28 |
---
|
| 29 |
|
| 30 |
## Paper
|
| 31 |
|
| 32 |
+
[AnalogToBi: Device-Level Analog Circuit Topology Generation via Bipartite Graph and Grammar Guided Decoding](https://arxiv.org/abs/2603.08720)
|
|
|
|
|
|
|
| 33 |
|
| 34 |
---
|
| 35 |
|
| 36 |
## Code
|
| 37 |
|
| 38 |
+
Official implementation: [https://github.com/Seungmin0825/AnalogToBi](https://github.com/Seungmin0825/AnalogToBi)
|
|
|
|
| 39 |
|
| 40 |
---
|
| 41 |
|
| 42 |
+
## Usage
|
| 43 |
+
|
| 44 |
+
To generate circuit topologies using the grammar-guided decoder, you can use the following command from the official repository:
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
python GPT_Inference_Grammar.py CIRCUIT_Opamp
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
## Citation
|
| 51 |
|
| 52 |
+
```bibtex
|
| 53 |
+
@article{kim2026analogtobi,
|
| 54 |
+
title={AnalogToBi: Device-Level Analog Circuit Topology Generation via Bipartite Graph and Grammar Guided Decoding},
|
| 55 |
+
author={Kim, Seungmin and Kim, Mingun and Lee, Yuna and Kim, Yulhwa},
|
| 56 |
+
journal={arXiv preprint arXiv:2603.08720},
|
| 57 |
+
year={2026}
|
| 58 |
+
}
|
| 59 |
+
```
|