Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- tinyllama
|
5 |
+
---
|
6 |
+
|
7 |
+
## QNA PHYSICS:
|
8 |
+
```
|
9 |
+
prompt = formatted_prompt('What are the theoretical explanations for the integer and fractional quantum Hall effects, and how do these explanations account for the observed experimental data?')
|
10 |
+
sequences = pipe(
|
11 |
+
prompt,
|
12 |
+
do_sample=True,
|
13 |
+
temperature=0.1,
|
14 |
+
top_p=0.9,
|
15 |
+
num_return_sequences=1,
|
16 |
+
eos_token_id=tokenizer.eos_token_id,
|
17 |
+
max_new_tokens=512
|
18 |
+
)
|
19 |
+
for seq in sequences:
|
20 |
+
print(f"Result: {seq['generated_text']}")
|
21 |
+
|
22 |
+
output_time = perf_counter() - start_time
|
23 |
+
print(f"Time taken for inference: {round(output_time,2)} seconds")
|
24 |
+
```
|
25 |
+
|
26 |
+
### RESULT:
|
27 |
+
```
|
28 |
+
Result: <|im_start|>user
|
29 |
+
What are the theoretical explanations for the integer and fractional quantum Hall effects, and how do these explanations account for the observed experimental data?<|im_end|>
|
30 |
+
<|im_start|>assistant:
|
31 |
+
The integer and fractional quantum Hall effects are two different phenomena that occur in the physics of semiconductors. They are related to the properties of the electronic states of the material, and their understanding can provide insights into the fundamental properties of quantum systems.
|
32 |
+
|
33 |
+
The integer quantum Hall effect (IQHE) is a phenomenon where the Hall conductance, which is the current flowing through a conductor, is quantized, meaning that it has a discrete value. This effect is due to the interplay between the electron spin and the electron charge, which are both quantized in the material. The IQHE is a result of the interplay between the electron spin and the electron charge, and it is a fundamental property of the material.
|
34 |
+
|
35 |
+
The fractional quantum Hall effect (FQHE) is a more recent phenomenon that occurs in semiconductors with a high electron mobility. In this effect, the Hall conductance is not quantized, but instead has a continuous range of values. This effect is due to the interplay between the electron mobility and the electron charge, which are both quantized in the material. The FQHE is a result of the interplay between the electron mobility and the electron charge, and it is a fundamental property of the material.
|
36 |
+
|
37 |
+
The theoretical explanations for the IQHE and FQHE are based on the principles of quantum mechanics and the principles of quantum field theory. These theories provide a framework for understanding the physics of the material and the underlying quantum mechanics. The explanations provide insights into the fundamental properties of quantum systems, such as the quantization of the current flowing through a material, and the interplay between the electron spin and the electron charge.
|
38 |
+
|
39 |
+
In summary, the integer and fractional quantum Hall effects are two different phenomena that occur in the physics of semiconductors. They are related to the properties of the electronic states of the material, and their understanding can provide insights into the fundamental properties of quantum systems. The theoretical explanations for the IQHE and FQHE are based on the principles of quantum mechanics and the principles of quantum field theory, respectively, and provide insights into the physics of the material.
|
40 |
+
|
41 |
+
Time taken for inference: 13.36 seconds
|
42 |
+
```
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
+
## GET HEX:
|
48 |
+
```
|
49 |
+
from time import perf_counter
|
50 |
+
start_time = perf_counter()
|
51 |
+
|
52 |
+
prompt = formatted_prompt('give me hex code for pure red color')
|
53 |
+
sequences = pipe(
|
54 |
+
prompt,
|
55 |
+
do_sample=True,
|
56 |
+
temperature=0.1,
|
57 |
+
top_p=0.9,
|
58 |
+
num_return_sequences=1,
|
59 |
+
eos_token_id=tokenizer.eos_token_id,
|
60 |
+
max_new_tokens=200
|
61 |
+
)
|
62 |
+
for seq in sequences:
|
63 |
+
print(f"Result: {seq['generated_text']}")
|
64 |
+
|
65 |
+
output_time = perf_counter() - start_time
|
66 |
+
print(f"Time taken for inference: {round(output_time,2)} seconds")
|
67 |
+
```
|
68 |
+
|
69 |
+
## RESULT:
|
70 |
+
```
|
71 |
+
Result: <|im_start|>user
|
72 |
+
give me hex code for pure red color<|im_end|>
|
73 |
+
<|im_start|>assistant:
|
74 |
+
|
75 |
+
#ff0000
|
76 |
+
|
77 |
+
Time taken for inference: 0.45 seconds
|
78 |
+
```
|