nateraw/wizardcoder-python-34b-v1.0 🔢📝 → 📝
Example Output
Output
Sure, here's an SVG of an analog clock:
<svg viewBox="0 0 100 100">
<circle cx="50" cy="50" r="45" fill="none" stroke="#333" stroke-width="3"/>
<circle cx="50" cy="50" r="5" fill="#333"/>
<line x1="50" y1="50" x2="50" y2="45" stroke="#333" stroke-width="2"/>
<line x1="50" y1="50" x2="47.5" y2="50" stroke="#333" stroke-width="2"/>
<line x1="50" y1="50" x2="52.5" y2="50" stroke="#333" stroke-width="2"/>
<line x1="50" y1="50" x2="50" y2="52.5" stroke="#333" stroke-width="2"/>
<line x1="50" y1="50" x2="50" y2="47.5" stroke="#333" stroke-width="2"/>
<line x1="50" y1="50" x2="49.38" y2="50.38" stroke="#333" stroke-width="2"/>
<line x1="50" y1="50" x2="50.62" y2="50.38" stroke="#333" stroke-width="2"/>
<line x1="50" y1="50" x2="50.38" y2="49.62" stroke="#333" stroke-width="2"/>
<line x1="50" y1="50" x2="50.38" y2="50.62" stroke="#333" stroke-width="2"/>
<line x1="50" y1="50" x2="50.62" y2="49.62" stroke="#333" stroke-width="2"/>
<line x1="50" y1="50" x2="49.62" y2="50.62" stroke="#333" stroke-width="2"/>
<g id="hour-hand">
<rect x="45" y="25" width="5" height="40" fill="none" stroke="#333" stroke-width="3"/>
</g>
<g id="minute-hand">
<rect x="47.5" y="25" width="3" height="40" fill="none" stroke="#333" stroke-width="2"/>
</g>
<g id="second-hand">
<rect x="48.75" y="25" width="1" height="40" fill="none" stroke="#f00" stroke-width="1"/>
</g>
</svg>
The clock is centered at 50,50 and has a radius of 45. The center dot is a circle with a radius of 5. The four lines on the edge are tick marks, while the lines at 45 degree intervals are hour markers. The hands are all represented as rectangles that are rotated and translated to their appropriate positions. The hour hand is 5 pixels wide, the minute hand is 3 pixels wide, and the second hand is 1 pixel wide. The stroke widths of the hands are adjusted to give them the desired thickness.
Performance Metrics
484.46s
Prediction Time
854.17s
Total Time
All Input Parameters
{ "top_k": 50, "top_p": 0.95, "message": "Generate an SVG of an analog clock.", "temperature": 1, "max_new_tokens": 1024 }
Input Parameters
- top_k
- The number of highest probability tokens to consider for generating the output. If > 0, only keep the top k tokens with highest probability (top-k filtering).
- top_p
- A probability threshold for generating the output. If < 1.0, only keep the top tokens with cumulative probability >= top_p (nucleus filtering). Nucleus filtering is described in Holtzman et al. (http://arxiv.org/abs/1904.09751).
- message (required)
- temperature
- The value used to modulate the next token probabilities.
- max_new_tokens
- The maximum number of tokens the model should generate as output.
Output Schema
Output
Example Execution Logs
/root/.pyenv/versions/3.8.18/lib/python3.8/site-packages/transformers/generation/utils.py:1411: UserWarning: You have modified the pretrained model configuration to control generation. This is a deprecated strategy to control generation and will be removed soon, in a future version. Please use a generation configuration file (see https://huggingface.co/docs/transformers/main_classes/text_generation ) warnings.warn(
Version Details
- Version ID
7cccdb1f912482eb5b2f5671d23e6a6313ab0e101aa15a915ec777ed8521a85b
- Version Created
- August 29, 2023