Barghav777 commited on
Commit
d7c32bb
·
verified ·
1 Parent(s): 834f39a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -19
README.md CHANGED
@@ -1,11 +1,18 @@
1
  ---
2
  library_name: transformers
3
- tags: []
 
 
 
 
 
 
 
4
  ---
5
 
6
  # Model Card for Model ID
7
 
8
- <!-- Provide a quick summary of what the model is/does. -->
9
 
10
 
11
 
@@ -17,13 +24,11 @@ tags: []
17
 
18
  This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
 
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
 
28
  ### Model Sources [optional]
29
 
@@ -39,34 +44,41 @@ This is the model card of a 🤗 transformers model that has been pushed on the
39
 
40
  ### Direct Use
41
 
42
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
 
44
- [More Information Needed]
45
 
46
  ### Downstream Use [optional]
47
 
48
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
 
50
- [More Information Needed]
51
 
52
  ### Out-of-Scope Use
53
 
54
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
 
56
- [More Information Needed]
 
 
57
 
58
  ## Bias, Risks, and Limitations
59
 
60
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
 
62
- [More Information Needed]
 
 
 
 
63
 
64
  ### Recommendations
65
 
66
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
 
68
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
 
 
70
  ## How to Get Started with the Model
71
 
72
  Use the code below to get started with the model.
 
1
  ---
2
  library_name: transformers
3
+ license: mit
4
+ language:
5
+ - en
6
+ metrics:
7
+ - rouge
8
+ base_model:
9
+ - microsoft/Phi-3-mini-4k-instruct
10
+ pipeline_tag: text-generation
11
  ---
12
 
13
  # Model Card for Model ID
14
 
15
+ A lightweight LoRA-adapter fine-tune of microsoft/Phi-3-mini-4k-instruct for turning structured lab contexts + observations into executable Python code that performs the target calculations (e.g., mechanics, fluids, vibrations, basic circuits, titrations). Trained with QLoRA in 4-bit, this model is intended as an assistive code generator for STEM lab writeups and teaching demos—not as a certified calculator for safety-critical engineering.
16
 
17
 
18
 
 
24
 
25
  This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
26
 
27
+ - **Developed by:** [Barghav777]
28
+ - **Model type:** Causal decoder LM (instruction-tuned) + LoRA adapter
29
+ - **Language(s) (NLP):** English
30
+ - **License:** MIT
31
+ - **Finetuned from model [optional]:** microsoft/Phi-3-mini-4k-instruct
 
 
32
 
33
  ### Model Sources [optional]
34
 
 
44
 
45
  ### Direct Use
46
 
47
+ - Generate readable Python code to compute derived quantities from lab observations (e.g., average g via pendulum, Coriolis acceleration, Ohm’s law resistances, radius of gyration, Reynolds number).
48
 
49
+ - Produce calculation pipelines with minimal plotting/printing that are easy to copy-paste and run in a notebook.
50
 
51
  ### Downstream Use [optional]
52
 
53
+ - Course assistants or lab-prep tools that auto-draft calculation code for intro undergrad physics/mech/fluids/EE labs.
54
 
55
+ - Auto-checkers that compare student code vs. a reference implementation (with appropriate guardrails).
56
 
57
  ### Out-of-Scope Use
58
 
59
+ - Any safety-critical design decisions (structural, medical, chemical process control).
60
 
61
+ - High-stakes computation without human verification.
62
+
63
+ - Domains far outside the training distribution (e.g., NLP preprocessing pipelines, advanced control systems, large-scale simulation frameworks).
64
 
65
  ## Bias, Risks, and Limitations
66
 
67
+ - Small dataset (37 train / 6 eval) plausible overfitting; brittle generalization to unseen experiment formats.
68
 
69
+ - Formula misuse risk: The model may pick incorrect constants/units or silently use wrong equations.
70
+
71
+ - Overconfidence: Generated code may “look right” while being numerically off or unit-inconsistent.
72
+
73
+ - JSON brittleness: If OBSERVATIONS keys/units differ from training patterns, the code may break.
74
 
75
  ### Recommendations
76
 
77
+ - Always review formulas and units; add assertions/unit conversions in downstream systems.
78
 
79
+ - Run generated code with test observations and compare against hand calculations.
80
 
81
+ - For deployment, wrap outputs with explanations and references to the formulas used.
82
  ## How to Get Started with the Model
83
 
84
  Use the code below to get started with the model.