<｜begin▁of▁sentence｜>### Instruction:
Given a random graph G with 100 nodes and 500 edges, can the Walklets model be used to learn a node embedding which can capture multi-scale community structures?
### Response:
import networkx as nx
from karateclub import Walklets
import matplotlib.pyplot as plt

# Creating a graph
G = nx.gnm_random_graph(n=100, m=500, seed=42)

# Initializing Walklets model with default parameters
model = Walklets(walk_number=10, walk_length=80, dimensions=32, workers=4, window_size=4, epochs=1, learning_rate=0.05, min_count=1, seed=42)

# Fitting the model
model.fit(G)

# Getting the embedding
embedding = model.get_embedding()
print(embedding)
<|EOT|>
